Multiple Active Menu Items
-
The current(active) menu items work as expected until I go in to a post that has multiple categories selected. Since the menu for my site has been made in the Appearance->Menus admin page as category menu items, when a post has two categories selected that are also in the main navigation both appear with the style of the current menu item.
Does anyone know how I can limit the menu to only be able to display one that has an active state.
This is the code to include the menu if it helps:
<?php wp_nav_menu( array( 'theme_location' => 'mainMenu' ,'container' => false,'container_class'=>'menuHolder','menu_class' => 'menuTop') ); ?>
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Multiple Active Menu Items’ is closed to new replies.