[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/bbpress/ -> user-topics-created.php (source)

   1  <?php
   2  
   3  /**
   4   * User Topics Created
   5   *
   6   * @package bbPress
   7   * @subpackage Theme
   8   */
   9  
  10  // Exit if accessed directly
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  do_action( 'bbp_template_before_user_topics_created' ); ?>
  14  
  15  <div id="bbp-user-topics-started" class="bbp-user-topics-started">
  16  
  17      <?php bbp_get_template_part( 'form', 'topic-search' ); ?>
  18  
  19      <h2 class="entry-title"><?php esc_html_e( 'Forum Topics Started', 'bbpress' ); ?></h2>
  20      <div class="bbp-user-section">
  21  
  22          <?php if ( bbp_get_user_topics_started() ) : ?>
  23  
  24              <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
  25  
  26              <?php bbp_get_template_part( 'loop',       'topics' ); ?>
  27  
  28              <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
  29  
  30          <?php else : ?>
  31  
  32              <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>
  33  
  34          <?php endif; ?>
  35  
  36      </div>
  37  </div><!-- #bbp-user-topics-started -->
  38  
  39  <?php do_action( 'bbp_template_after_user_topics_created' );


Generated: Wed Feb 28 01:00:50 2024 Cross-referenced by PHPXref 0.7.1