I'm hoping this is straightforward. I've integrated BBpress and Wordpress at a theme level - ie reusing header and footer. What I would like to do is display different information (such as a link to a user profile) in the header only when a bbpress page is being displayed. Is there a conditional variable I can check with php that would allow me to do this? Which global variable? Thanks.
bbPress support forums » Themes
Wordpress Theme Integration - Conditional Header
(3 posts)-
Posted 8 months ago #
-
global $bb; if( isset( $bb ) ) { //... }Posted 8 months ago # -
Works like a charm. Thanks fel, you do yeoman's work here.
Posted 8 months ago #
Reply
You must log in to post.