Jump to content
Sign in to follow this  
thenbrent

BBPress Current Menu Page

Recommended Posts

thenbrent    0
thenbrent

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
cmunns    16
cmunns

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
thenbrent    0
thenbrent

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
cmunns    16
cmunns

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×