[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * Single User 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 do_action( 'bbp_template_notices' ); ?>
  18  
  19      <?php do_action( 'bbp_template_before_user_wrapper' ); ?>
  20  
  21      <div id="bbp-user-wrapper">
  22  
  23          <?php bbp_get_template_part( 'user', 'details' ); ?>
  24  
  25          <div id="bbp-user-body">
  26              <?php if ( bbp_is_favorites()               ) bbp_get_template_part( 'user', 'favorites'       ); ?>
  27              <?php if ( bbp_is_subscriptions()           ) bbp_get_template_part( 'user', 'subscriptions'   ); ?>
  28              <?php if ( bbp_is_single_user_engagements() ) bbp_get_template_part( 'user', 'engagements'     ); ?>
  29              <?php if ( bbp_is_single_user_topics()      ) bbp_get_template_part( 'user', 'topics-created'  ); ?>
  30              <?php if ( bbp_is_single_user_replies()     ) bbp_get_template_part( 'user', 'replies-created' ); ?>
  31              <?php if ( bbp_is_single_user_edit()        ) bbp_get_template_part( 'form', 'user-edit'       ); ?>
  32              <?php if ( bbp_is_single_user_profile()     ) bbp_get_template_part( 'user', 'profile'         ); ?>
  33          </div>
  34      </div>
  35  
  36      <?php do_action( 'bbp_template_after_user_wrapper' ); ?>
  37  
  38  </div>


Generated: Fri Mar 29 01:00:56 2024 Cross-referenced by PHPXref 0.7.1