Conditional for bbpress home
Hopefully I got the right forum here.
I want to add a heading when on the “forums” archive home page of the bbpress forum. Right now I have this for jetpack’s portfolio…note this is just a snippet of my code:
if (is_post_type_archive()) : echo '<h1 id="bts-page-title">' . __( 'WordPress Themes', 'bts' ) . '</h1>';
…but the bbpress forum header area is loading that title as well. I’ve tried so many variations and conditionals, none work. I did manage to get the “forum” titles to show for individual forums with:
elseif (is_bbpress('forum') ) : echo '<h1 id="bts-page-title">' . __( 'Support Forum', 'bts' ) . '</h1>';
But does anyone have an idea how to get the conditional to show a custom header title for the bbpress home page?
- You must be logged in to reply to this topic.