forum homepage conditional?
I’m looking for something like is_bbpress(), but one that only fires if on the forum homepage. Is there such a conditional?
if is_bbpress_forum_home() …. will allow me to add/subtract functionality from the forum homepage no matter where it is located.
Trying to do something like:
<?php if ( $page = bbp_get_page_by_path( $bbp->root_slug ) ) : ?>
<?php _e( 'Forums', 'bbpress' ); ?>
<?php else : ?>
<?php bbp_forum_title(); ?>
<?php endif; ?>
You must be logged in to reply to this topic.