Skip to:
Content
Pages
Categories
Search
Top
Bottom

forum homepage conditional?

  • @anointed

    Participant

    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; ?>

Viewing 1 replies (of 1 total)
  • @anointed

    Participant

    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 templates

    also 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

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar