Navigation problem -> current_page_item not set for Forums in navigation tabs
I’ve got bbpress as the forum for my wordpress installation on localhost.
I’ve created a new page and inserted the bbcode to show the forum index in that page (page name is “forums”).
In my navigation I have “Forums” and when i click it and it is the active page, it does not receive a “current_page_item” class from the navigation.
How can I make it have the “current_page_item” class when it is selected?
While I am using Buddypress, I do not have a page associated in buddypress with my bbpress forums because it causes the forums to not function when i do associate a page.
In the default Buddypress template header this is the menu code:
<div id=”navigation” role=”navigation”>
<?php wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
- You must be logged in to reply to this topic.