[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * Single 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 bbp_breadcrumb(); ?>
  18  
  19      <?php bbp_topic_subscription_link(); ?>
  20  
  21      <?php bbp_topic_favorite_link(); ?>
  22  
  23      <?php do_action( 'bbp_template_before_single_topic' ); ?>
  24  
  25      <?php if ( post_password_required() ) : ?>
  26  
  27          <?php bbp_get_template_part( 'form', 'protected' ); ?>
  28  
  29      <?php else : ?>
  30  
  31          <?php bbp_topic_tag_list(); ?>
  32  
  33          <?php bbp_single_topic_description(); ?>
  34  
  35          <?php if ( bbp_show_lead_topic() ) : ?>
  36  
  37              <?php bbp_get_template_part( 'content', 'single-topic-lead' ); ?>
  38  
  39          <?php endif; ?>
  40  
  41          <?php if ( bbp_has_replies() ) : ?>
  42  
  43              <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
  44  
  45              <?php bbp_get_template_part( 'loop',       'replies' ); ?>
  46  
  47              <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
  48  
  49          <?php endif; ?>
  50  
  51          <?php bbp_get_template_part( 'form', 'reply' ); ?>
  52  
  53      <?php endif; ?>
  54  
  55      <?php bbp_get_template_part( 'alert', 'topic-lock' ); ?>
  56  
  57      <?php do_action( 'bbp_template_after_single_topic' ); ?>
  58  
  59  </div>


Generated: Mon Oct 21 01:01:24 2019 Cross-referenced by PHPXref 0.7.1