Info
- 2 posts
- 1 voice
- Started 7 months ago by Anointed
- Latest reply from Anointed
forum homepage conditional?
-
- Posted 7 months ago #
I'm looking for something like is_bbpress(), but one that only fires if on the forum homepage. Is there such a conditional?
i.e.
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; ?> -
- Posted 6 months ago #
Just bumping it up as I still can't find a conditional to use for determining if I am on the forum front/homepage.
*I am not using shortcodes but rather custom templatesalso need a few other conditionals please:
What conditional can I use to see if I am on a topic-tag, or topic-tag-edit page?
finally, conditional for being on the users/users-edit page?
*trying to change titles around above the breadcrumbs in my template. and also using conditionals to remove breadcrumbs when on user page as they dont work on user pages yet.
thanks
-
You must log in to post.