Info
- 2 posts
- 1 voice
- Started 3 years ago by ale77dan
- Latest reply from ale77dan
- This topic is resolved
Highlight Forum Pages
-
- Posted 3 years ago #
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!
-
- Posted 3 years ago #
After a more deep forum search I found this
http://bbpress.org/forums/topic/global-variables-in-header-not-passed-to-bodyThanks a lot anyway.
-
You must log in to post.