[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/extras/ -> page-topic-tags.php (source)

   1  <?php
   2  
   3  /**
   4   * Template Name: bbPress - Topic Tags
   5   *
   6   * @package bbPress
   7   * @subpackage Theme
   8   */
   9  
  10  get_header(); ?>
  11  
  12      <?php do_action( 'bbp_before_main_content' ); ?>
  13  
  14      <?php do_action( 'bbp_template_notices' ); ?>
  15  
  16      <?php while ( have_posts() ) : the_post(); ?>
  17  
  18          <div id="bbp-topic-tags" class="bbp-topic-tags">
  19              <h1 class="entry-title"><?php the_title(); ?></h1>
  20              <div class="entry-content">
  21  
  22                  <?php get_the_content() ? the_content() : wpautop( esc_html__( 'This is a collection of tags that are currently popular on our forums.', 'bbpress' ) ); ?>
  23  
  24                  <div id="bbpress-forums" class="bbpress-wrapper">
  25  
  26                      <?php bbp_breadcrumb(); ?>
  27  
  28                      <div id="bbp-topic-hot-tags">
  29  
  30                          <?php wp_tag_cloud( array( 'smallest' => 9, 'largest' => 38, 'number' => 80, 'taxonomy' => bbp_get_topic_tag_tax_id() ) ); ?>
  31  
  32                      </div>
  33                  </div>
  34              </div>
  35          </div><!-- #bbp-topic-tags -->
  36  
  37      <?php endwhile; ?>
  38  
  39      <?php do_action( 'bbp_after_main_content' ); ?>
  40  
  41  <?php get_sidebar(); ?>
  42  <?php get_footer();


Generated: Sat Dec 21 01:00:52 2024 Cross-referenced by PHPXref 0.7.1