I have the portfolio slug set to the same as one of my static pages. But, when I click the link in my top menu, it never actually goes to that page; instead does some kind of custom query.
As a result of this,
wp_nav_menu()never applies a “current”
<li>and instead, my “blog” (static page for posts) is set as “current”. This breaks my design.
- The topic ‘[Plugin: Simple Portfolio] wp_nav_menu not setting "current" class’ is closed to new replies.