• 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” class to the
    <li> and instead, my “blog” (static page for posts) is set as “current”. This breaks my design.

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Steven Vachon

    (@prometh)

    Thanks for the fix. However, this is something that should have been fixed in the plugin long ago. Having us use a messy workaround like this is a testament to the lack of dedication from the original developer.

    You’re probably right Steven, but you have to keep in mind that the plugin is free after all, and I can personally say that I lack the ability to develop a plugin like this (or to fix it since it’s open source), so the mere fact that the developer cares enough to share something I can use, and is as good as it is is very appreciated.

    Thread Starter Steven Vachon

    (@prometh)

    I have released plugins; just click my name on the left. If someone finds a serious bug, I fix it. Sometimes it takes a little while, but it gets done. This plugin has seen a few revisions over the course of this, now, 5 month old bug, and for that there is no excuse.

    @luispic can you tell mi something about your solution? I can’t link categories in my porfolio.
    link lead me to undefined page.

    @themella sure, what do you need to know?

    if the link leads to a undefined page, you might be defining it wrong. do you have a link?

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘[Plugin: Simple Portfolio] wp_nav_menu not setting "current" class’ is closed to new replies.