[Resolved] bbPress vs active menu item

Home Forums Support [Resolved] bbPress vs active menu item

Home Forums Support bbPress vs active menu item

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1618
    Ladislav Blažek

    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.

    #1625
    Tom
    Lead Developer
    Lead 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,
    Tom

    #1627
    Ladislav 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.

    #1628
    Tom
    Lead Developer
    Lead 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.

    Tom

    #1630
    Ladislav 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”.

    #1631
    Tom
    Lead Developer
    Lead 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.

    Thanks,
    Tom

    #1632
    Tom
    Lead Developer
    Lead 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,
    Tom

    #1634
    Ladislav Blažek

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

    #1635
    Tom
    Lead Developer
    Lead Developer

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

    Tom

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.