Forums

Join
bbPress Support ForumsTroubleshootingHighlight Forum Pages

Info

Highlight Forum Pages

  1. Hello bbpress forum!

    I successfully integrated bbpress into my WordPress installation. I have shared user database and header/footer function.

    Now I want highlight the Forum Tab in the header menu, of course only when people are showing forum pages. I read in this forum that I can use $forumpage variable. So, I can use it in a conditional function, like <?php if ($forumpage = TRUE) { echo " id=\"current\""; } ?>

    But, such variable is always TRUE, also in non bbpress page.

    Where is the trouble?

    Sorry for my little english!

  2. After a more deep forum search I found this
    http://bbpress.org/forums/topic/global-variables-in-header-not-passed-to-body

    Thanks a lot anyway.

  3. You must log in to post.