bbp_template_before_topic_tag

  • do_action( 'bbp_template_before_topic_tag' )

    Source Reference:

    • 				<div id="topic-tag" class="bbp-topic-tag">
      					<h1 class="entry-title"><?php printf( __( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1>
      
      					<div class="entry-content">
      
      						<?php bbp_breadcrumb(); ?>
      
      						<?php bbp_topic_tag_description(); ?>
      
      						<?php do_action( 'bbp_template_before_topic_tag' ); ?>
      
      						<?php if ( bbp_has_topics() ) : ?>
      
      							<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
      
      							<?php bbp_get_template_part( 'bbpress/loop',       'topics'    ); ?>
      
      							<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
      
      						<?php else : ?>
      
    • Component: bbPress:: bbp-core
      File: /bbp-includes/bbp-core-shortcodes.php :: Trac Source Line: 631
      		$this->start( 'bbp_topics_of_tag' );
      
      		// Breadcrumb
      		bbp_breadcrumb();
      
      		// Tag description
      		bbp_topic_tag_description();
      
      		// Before tag topics
      		do_action( 'bbp_template_before_topic_tag' );
      
      		// Load the topics
      		if ( bbp_has_topics( $args ) ) {
      			bbp_get_template_part( 'bbpress/pagination', 'topics'    );
      			bbp_get_template_part( 'bbpress/loop',       'topics'    );
      			bbp_get_template_part( 'bbpress/pagination', 'topics'    );
      
      		// No topics
      		} else {
      			bbp_get_template_part( 'bbpress/feedback',   'no-topics' );
      

Comments are closed.