[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/bbpress/ -> content-archive-topic.php (source)

   1  <?php
   2  
   3  /**
   4   * Archive Topic Content Part
   5   *
   6   * @package bbPress
   7   * @subpackage Theme
   8   */
   9  
  10  // Exit if accessed directly
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  ?>
  14  
  15  <div id="bbpress-forums" class="bbpress-wrapper">
  16  
  17      <?php if ( bbp_allow_search() ) : ?>
  18  
  19          <div class="bbp-search-form">
  20  
  21              <?php bbp_get_template_part( 'form', 'search' ); ?>
  22  
  23          </div>
  24  
  25      <?php endif; ?>
  26  
  27      <?php bbp_breadcrumb(); ?>
  28  
  29      <?php do_action( 'bbp_template_before_topic_tag_description' ); ?>
  30  
  31      <?php if ( bbp_is_topic_tag() ) : ?>
  32  
  33          <?php bbp_topic_tag_description( array( 'before' => '<div class="bbp-template-notice info"><ul><li>', 'after' => '</li></ul></div>' ) ); ?>
  34  
  35      <?php endif; ?>
  36  
  37      <?php do_action( 'bbp_template_after_topic_tag_description' ); ?>
  38  
  39      <?php do_action( 'bbp_template_before_topics_index' ); ?>
  40  
  41      <?php if ( bbp_has_topics() ) : ?>
  42  
  43          <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
  44  
  45          <?php bbp_get_template_part( 'loop',       'topics'    ); ?>
  46  
  47          <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
  48  
  49      <?php else : ?>
  50  
  51          <?php bbp_get_template_part( 'feedback',   'no-topics' ); ?>
  52  
  53      <?php endif; ?>
  54  
  55      <?php do_action( 'bbp_template_after_topics_index' ); ?>
  56  
  57  </div>


Generated: Fri Apr 26 01:01:04 2024 Cross-referenced by PHPXref 0.7.1