Remove links in top nav right
Hi Spartac,
can you tell me how to remove the links in the top nav right?
In the header.php and several other files I have comment out really everything of links for the right section - but they still show up:
<div class="header-ino">
<div class="menus-s">
<nav>
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'sort_column' => 'menu_order', 'container' => 'menu-header', 'fallback_cb' => 'default_top_nav' ) ); ?></nav>
</nav>
<ul class="dashboard">
<?php
//Pick add-button action whether the user is job seeker or jobs lister
if ( is_user_logged_in() )
if (current_user_can('can_submit_job')){
echo'
<!--<li class="dashboard">
<a href="'.get_permalink( JR_Dashboard_Page::get_id() ).'">'.__( 'Dashboard',APP_TD ).'</a>
</li>-->
<!--<li class="dashboard"><a href="'.get_permalink( JR_Job_Submit_Page::get_id() ).'">'.stripslashes(get_option('tr_submit_job')).' </a></li>-->
';}
else{echo'
<!--<li class="dashboard">
<a href="'.get_permalink( JR_Dashboard_Page::get_id() ).'">'.__( 'Dashboard',APP_TD ).'</a>
</li>-->
<!--<li class="dashboard"><a href="'.get_permalink( JR_Resume_Edit_Page::get_id()).'">'.stripslashes(g et_option('tr_submit_resume')).'</a></li>-->
';}
else {
?>
<?php
switch (get_option('enable_menu_button')) {
case "None": ?>
<?php break;
case "Submit a Job": ?>
<!--<li class="dashboard">
<?php echo'<a href="'.get_permalink( JR_Job_Submit_Page::get_id() ).'">'.stripslashes(get_option('tr_submit_job')).' </a>'; ?>
</li>-->
<?php break;
case "Submit a Resume": ?>
<!--<li class="dashboard">
<?php if ( is_user_logged_in() && current_user_can('can_submit_resume') ) { ?>
<?php echo'<a href="'.get_permalink( JR_Resume_Edit_Page::get_id()).'">'.stripslashes(g et_option('tr_submit_resume')).'</a>';?>
<?php } else {?>
<?php echo'<a href="'.site_url('
wp-login.php').'">'.stripslashes(get_option('tr_submi t_resume')).'</a>';?>
<?php } ?>
</li>-->
<?php break;
}
?>
<?php
}
?>
</ul>
</div>