Site logo

Archived topic

bbPress vs active menu item

8 replies · Started by Ladislav Blažek on June 23, 2014

Viewing posts 1–9 of 9

Hi Tom,
I am trying to integrate bbPress to my website but when I am on topic or forums index page blog menu item (Novinky) is highlighted in the menu as active. I have static page for forum index using the same slug as it is configured for bbPress.
Examples:
* forums index - http://zapojit.cz/komunita/diskuze/
* topic - http://zapojit.cz/komunita/diskuze/tema/testovaci-tema/

It is OK on individual forum pages like http://zapojit.cz/komunita/diskuze/forum/speleopokec/

Any idea? Thanks.

Hmm I'll look into this - might have to include better bbpress support in the next version.

It does seem people have been having a similar issue: https://bbpress.trac.wordpress.org/ticket/2204

It shouldn't be making your blog link active though. Do you have a page created that has the bbpress shortcode on it?

If so, have you added that page to your menu in "Appearance > Menus"? If so, WordPress will highlight that page, and not the blog index.

Let me know,
Tom

Tested method 2, same issue. Something is adding css class "current_page_parent" to "Novinky" menu item (blog) when on topic page. Also sidebar layout is not respected - default setting is content (no sidebar) but forum is displayed with blog layout sidebar/content. With Twenty twelve theme class "current_page_parent" is not added to "Novinky".

Just took a look at this.

The sidebar issue was fixed in the latest version (1.0.8).

If you're updated and it's not working, go to Appearance > Customize and go to "Layout > Single Post Layout". Switch it to something else, then switch it back and save.

This should fix that issue.

Let me know,
Tom

Updated theme - sidebar issue solved. For menu item I used jquery workaround for now. Thanks a lot for you support and patience.

Happy I could help! Hopefully bbPress sorts out the menu item issue soon.

Tom

This archived topic is closed to new replies.