[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/members/single/ -> default-front.php (source)

   1  <?php
   2  /**
   3   * BP Nouveau Default user's front template.
   4   *
   5   * @since 3.0.0
   6   * @version 3.1.0
   7   */
   8  ?>
   9  
  10  <div class="member-front-page">
  11  
  12      <?php if ( ! is_customize_preview() && bp_current_user_can( 'bp_moderate' ) && ! is_active_sidebar( 'sidebar-buddypress-members' ) ) : ?>
  13  
  14          <div class="bp-feedback custom-homepage-info info">
  15              <strong><?php esc_html_e( 'Manage the members default front page', 'buddypress' ); ?></strong>
  16              <button type="button" class="bp-tooltip" data-bp-tooltip="<?php echo esc_attr_x( 'Close', 'button', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Close this notice', 'buddypress' ); ?>" data-bp-close="remove"><span class="dashicons dashicons-dismiss" aria-hidden="true"></span></button><br/>
  17              <?php
  18              printf(
  19                  esc_html__( 'You can set the preferences of the %1$s or add %2$s to it.', 'buddypress' ),
  20                  bp_nouveau_members_get_customizer_option_link(),
  21                  bp_nouveau_members_get_customizer_widgets_link()
  22              );
  23              ?>
  24          </div>
  25  
  26      <?php endif; ?>
  27  
  28      <?php if ( bp_nouveau_members_wp_bio_info() ) : ?>
  29  
  30          <div class="member-description">
  31  
  32              <?php if ( get_the_author_meta( 'description', bp_displayed_user_id() ) ) : ?>
  33                  <blockquote class="member-bio">
  34                      <?php bp_nouveau_member_description( bp_displayed_user_id() ); ?>
  35                  </blockquote><!-- .member-bio -->
  36              <?php endif; ?>
  37  
  38              <?php
  39              if ( bp_is_my_profile() ) :
  40  
  41                  bp_nouveau_member_description_edit_link();
  42  
  43              endif;
  44              ?>
  45  
  46          </div><!-- .member-description -->
  47  
  48      <?php endif; ?>
  49  
  50      <?php if ( is_active_sidebar( 'sidebar-buddypress-members' ) ) : ?>
  51  
  52          <div id="member-front-widgets" class="bp-sidebar bp-widget-area" role="complementary">
  53              <?php dynamic_sidebar( 'sidebar-buddypress-members' ); ?>
  54          </div><!-- .bp-sidebar.bp-widget-area -->
  55  
  56      <?php endif; ?>
  57  
  58  </div>


Generated: Tue Dec 10 01:01:39 2019 Cross-referenced by PHPXref 0.7.1