Quantcast
Channel: responsive – WordPress.org Forums
Viewing all articles
Browse latest Browse all 16569

headworm on "[Plugin: Responsive Select Menu] No menu at all on certain URL's"

$
0
0

Hi Chris,

Thanks for taking the time to look at this, sorry I haven't had time to come back since, it's been a busy week.

I have found the problem this morning, I had some code in my functions.php to include a Login/Logout link in my menu which I got from here:

function autov_add_loginout_navitem($items) {
	$login_item = '<li class="login menu-item">'.wp_loginout($_SERVER['REQUEST_URI'], false).'</li>';
    $items .= $login_item;
	return $items;
}
add_filter('wp_nav_menu_items', 'autov_add_loginout_navitem');

Removing it fixed the problem though I am now missing my handy login/logout menu item. If you have any ideas (and the time to look) as to why this bit of code is conflicting with your excellent plugin please let me know.


Viewing all articles
Browse latest Browse all 16569

Trending Articles