#3275 closed defect (bug) (wontfix)
The forum tab is not highlighted when the forum is displayed
Reported by: | lightcapturer | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Templates | Keywords: | reporter-feedback |
Cc: |
Description
One of the coolest in BP 1.3, that it has support for bbpress plugin, including the bp-default theme. One of the lacking is on the navigation menu: the forum tab is not highlighted when the forum is displayed.
Attachments (1)
Change History (9)
#2
@
13 years ago
;)
I'm just using a regular page and gave it a name same as the Forums Base slug. I'm not using custom menus because it doesn't works.
#4
@
13 years ago
- Resolution set to wontfix
- Status changed from new to closed
Though I can't recreate the error exactly the same as you, when I create a page called "forums", with bbPress and BuddyPress active/set up, WordPress just loads up the Page called "forums" (not bbPress). And, yes, the menu item isn't selected (class=current_page_item).
Tracing this back into wp_list_pages() -> $wp_query->get_queried_object_id(), $wp_queryquery_vars?post_type? is 'forum'. Because you are using the same URL name ("forums") as the registered root of one of bbPress' post types ("forum"). This then prevents the current_page_item class being set correctly.
Though this is unfortunate in this case, everything's working correctly. You'll either have to use a page slug other than "forums" for your page in the navigation, or use custom menus and create a http://.../forums/ link.
#5
@
13 years ago
- Milestone changed from Awaiting Review to 1.5
- Severity set to normal
- Version 1.5 deleted
Moving closed ticket out of Awaiting Review.
#6
@
11 years ago
Thanks for this, same situation, just changed the slug to "discussions" and it highlights...
Woah, weird seeing me in the screenshot! Anyway.
I can't recreate this. How are you adding the bbPress forum into the menu? Are you using custom menus or not?