Skip to:
Content
Pages
Categories
Search
Top
Bottom

Dynamic Nav Highlighting

  • I’m generating my navigation bar using WordPress menus, and I was wondering if there is something I could add to my functions.php file that would check to see if I’m on a buddypress-related page; anything under activity, blogs, forums, groups, members, or registration. And then set my $current page to ‘clubhouse’ (which is the “social” area of my site)

    I don’t know how to check if the page being called is from one of several directories. I know how to check for a specific page, but I need this to be dynamic. Currently no nav items are highlighted and I’d like the user to know where they are.

    Is anything like this possible? Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic Nav Highlighting’ is closed to new replies.
Skip to toolbar