[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * Single View 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_set_query_name( bbp_get_view_rewrite_id() ); ?>
  20  
  21      <?php if ( bbp_view_query() ) : ?>
  22  
  23          <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
  24  
  25          <?php bbp_get_template_part( 'loop',       'topics'    ); ?>
  26  
  27          <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
  28  
  29      <?php else : ?>
  30  
  31          <?php bbp_get_template_part( 'feedback',   'no-topics' ); ?>
  32  
  33      <?php endif; ?>
  34  
  35      <?php bbp_reset_query_name(); ?>
  36  
  37  </div>


Generated: Sun Jul 3 01:00:47 2022 Cross-referenced by PHPXref 0.7.1