Skip to:
Content
Pages
Categories
Search
Top
Bottom

Keeping menu link in active state


  • Nick Galgay
    Participant

    @nick-galgay

    Hello I am running the latest version of wordpress and bbpress, I am new to both of the aforementioned products. I have added a header link to my site that looks like

    <?php if (is_page(‘Forums’)) { echo ” class=\”current_page_item\””; } ?>

    That code works everywhere on my site except for bbpress. Can someone please tell me how to set my header link, and keep it, in the active state when on the forums? I’ve looked on this site and searched google to no avail.

    Thanks alot.

You must be logged in to reply to this topic.