current-menu-item missing from menu items
-
Hi all,
I have a problem in that only one menu item wont show the ‘current-menu-item’ class when I’m on that page.
Latest version of WordPress, and the theme is a custom theme built as a child theme of 2012 (also upto date). Using
<?php wp_nav_menu( array(‘menu’ => ‘Nav’, ‘sort_column’ => ‘menu_order’ ) ); ?>
to call in the menu.
Other pages included the menu show the current-menu-item class when on that page, but one doesn’t. This one page should be no different to the others. Its a page (rather than a post), it has content, albeit a custom template that pulls in the list of posts (template selected on the page drop down in the WP admin). Permalinks are all fine, no other errors.
I’ve tried re-adding it to the menu, but still no luck.
Any ideas on what this is happening? I’ve never encountered this before. The site in question is currently unavailable to the public.
Thanks.
The topic ‘current-menu-item missing from menu items’ is closed to new replies.