[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/members/single/profile/ -> profile-wp.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Members Single Profile WP
   4   *
   5   * @since 3.0.0
   6   * @version 3.1.0
   7   */
   8  
   9  bp_nouveau_wp_profile_hooks( 'before' ); ?>
  10  
  11  <div class="bp-widget wp-profile">
  12  
  13      <h2 class="screen-heading wp-profile-screen">
  14          <?php
  15          if ( bp_is_my_profile() ) {
  16              esc_html_e( 'My Profile', 'buddypress' );
  17          } else {
  18              printf(
  19                  /* Translators: a member's profile, e.g. "Paul's profile". */
  20                  __( "%s's Profile", 'buddypress' ),
  21                  bp_get_displayed_user_fullname()
  22              );
  23          }
  24          ?>
  25      </h2>
  26  
  27      <?php if ( bp_nouveau_has_wp_profile_fields() ) : ?>
  28  
  29          <table class="wp-profile-fields">
  30  
  31              <?php
  32              while ( bp_nouveau_wp_profile_fields() ) :
  33                  bp_nouveau_wp_profile_field();
  34              ?>
  35  
  36                  <tr id="<?php bp_nouveau_wp_profile_field_id(); ?>">
  37                      <td class="label"><?php bp_nouveau_wp_profile_field_label(); ?></td>
  38                      <td class="data"><?php bp_nouveau_wp_profile_field_data(); ?></td>
  39                  </tr>
  40  
  41              <?php endwhile; ?>
  42  
  43          </table>
  44  
  45      <?php else : ?>
  46  
  47          <?php bp_nouveau_user_feedback( 'member-wp-profile-none' ); ?>
  48  
  49      <?php endif; ?>
  50  
  51  </div>
  52  
  53  <?php
  54  bp_nouveau_wp_profile_hooks( 'after' );
  55  


Generated: Sun Jul 12 01:01:53 2020 Cross-referenced by PHPXref 0.7.1