php function to tell (in a template) whether it is bbpress?
-
using bbpress 2.2.4, wordpress 3.5.1
I want to make some conditional changes to my main template depending on whether it is rendering bbpress forums or the rest of the site.
something like:
` if (this_is_a_bbpress_page()) :
div class=”abc”
else :
div class=”xyz”
endif;`Is there something like that this_is_a_bbpress_page() function?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.