Archived

This topic is now archived and is closed to further replies.

  • 0

BBPress Current Menu Page

Question

Posted · Report post

Hi team, I'm using EcoPro & TerraForum. I have my bbpress installed in a forums directory, eg. example.com/forums/ and it's all working nicely except for the menu. I have created a menu item with the wp3.0 custom menu that points to example.com/forums, but when I'm on a forums page the "Forums" menu item is not selected. Any idea how to fix this? Thanks in advance.

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

I understood what you meant. I was suggesting manually adding a class to the body of the forums pages so you can add the active state style

Share this post


Link to post
Share on other sites

Posted · Report post

So the active state isn't working? You can assign a class to the body of the forums header. Then use that class to create an active state of that button when you're on that class? Does that make sense? If you provide a link I can help you out.

Share this post


Link to post
Share on other sites

Posted · Report post

The active state is working, if you mean the assignment of the current_page_parent class, but that class is being assigned to my blog index page, not the forums page. I guess that's because the forum are outside of WordPress and therefore, WordPress defaults to the blog index page. You can see what I mean at forums It works fine for WP pages, eg. About and contact

Share this post


Link to post
Share on other sites