- This topic has 8 replies, 2 voices, and was last updated 6 years, 10 months ago by Tom.
June 23, 2014 at 2:23 am #1618Ladislav Blažek
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.
* 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.June 23, 2014 at 8:57 am #1625TomLead DeveloperLead Developer
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,
TomJune 23, 2014 at 12:29 pm #1627Ladislav Blažek
I am implementing bbPress using method 1 – http://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#method-1 – so I have empty static page with the same permalink as forum root. Not using custom menu, navigation is auto generated by WP – I was trying to create custom menu but without any difference.June 23, 2014 at 12:47 pm #1628TomLead DeveloperLead Developer
Looks like others have had the same problem with bbPress: http://bbpress.org/forums/topic/navigation-problem-current_page_item-not-set-for-forums-in-navigation-tabs/
bbPress ignores the Forums tab, and highlights the blog tab for some reason.
I would (and do) use method 2.
I’ll look into it to see if I can do anything to fix this within the theme, but WordPress.org is quite picky about code related to external plugins within their free themes.
TomJune 23, 2014 at 3:22 pm #1630Ladislav Blažek
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”.June 23, 2014 at 3:33 pm #1631TomLead DeveloperLead Developer
Looks like they’re working on fixing this: http://bbpress.org/forums/topic/bbpress-single-forum-menu-item/
As for the sidebar setting – this is a bug with the theme I’ll get fixed right away.
TomJune 23, 2014 at 3:39 pm #1632TomLead DeveloperLead Developer
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,
TomJune 23, 2014 at 4:26 pm #1634Ladislav Blažek
Updated theme – sidebar issue solved. For menu item I used jquery workaround for now. Thanks a lot for you support and patience.June 23, 2014 at 4:28 pm #1635
- You must be logged in to reply to this topic.