[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * User Replies 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_replies' ); ?>
  14  
  15  <div id="bbp-user-replies-created" class="bbp-user-replies-created">
  16  
  17      <?php bbp_get_template_part( 'form', 'reply-search' ); ?>
  18  
  19      <h2 class="entry-title"><?php esc_html_e( 'Forum Replies Created', 'bbpress' ); ?></h2>
  20      <div class="bbp-user-section">
  21  
  22          <?php if ( bbp_get_user_replies_created() ) : ?>
  23  
  24              <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
  25  
  26              <?php bbp_get_template_part( 'loop',       'replies' ); ?>
  27  
  28              <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
  29  
  30          <?php else : ?>
  31  
  32              <?php bbp_get_template_part( 'feedback', 'no-replies' ); ?>
  33  
  34          <?php endif; ?>
  35  
  36      </div>
  37  </div><!-- #bbp-user-replies-created -->
  38  
  39  <?php do_action( 'bbp_template_after_user_replies' );


Generated: Tue Jun 28 01:00:47 2022 Cross-referenced by PHPXref 0.7.1