[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Members Profile Loop
   4   *
   5   * @since 3.0.0
   6   * @version 3.1.0
   7   */
   8  
   9  ?>
  10  
  11  <h2 class="screen-heading view-profile-screen"><?php esc_html_e( 'View Profile', 'buddypress' ); ?></h2>
  12  
  13  <?php bp_nouveau_xprofile_hook( 'before', 'loop_content' ); ?>
  14  
  15  <?php if ( bp_has_profile() ) : ?>
  16  
  17      <?php
  18      while ( bp_profile_groups() ) :
  19          bp_the_profile_group();
  20      ?>
  21  
  22          <?php if ( bp_profile_group_has_fields() ) : ?>
  23  
  24              <?php bp_nouveau_xprofile_hook( 'before', 'field_content' ); ?>
  25  
  26              <div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
  27  
  28                  <h3 class="screen-heading profile-group-title">
  29                      <?php bp_the_profile_group_name(); ?>
  30                  </h3>
  31  
  32                  <table class="profile-fields bp-tables-user">
  33  
  34                      <?php
  35                      while ( bp_profile_fields() ) :
  36                          bp_the_profile_field();
  37                      ?>
  38  
  39                          <?php if ( bp_field_has_data() ) : ?>
  40  
  41                              <tr<?php bp_field_css_class(); ?>>
  42  
  43                                  <td class="label"><?php bp_the_profile_field_name(); ?></td>
  44  
  45                                  <td class="data"><?php bp_the_profile_field_value(); ?></td>
  46  
  47                              </tr>
  48  
  49                          <?php endif; ?>
  50  
  51                          <?php bp_nouveau_xprofile_hook( '', 'field_item' ); ?>
  52  
  53                      <?php endwhile; ?>
  54  
  55                  </table>
  56              </div>
  57  
  58              <?php bp_nouveau_xprofile_hook( 'after', 'field_content' ); ?>
  59  
  60          <?php endif; ?>
  61  
  62      <?php endwhile; ?>
  63  
  64      <?php bp_nouveau_xprofile_hook( '', 'field_buttons' ); ?>
  65  
  66  <?php endif; ?>
  67  
  68  <?php
  69  bp_nouveau_xprofile_hook( 'after', 'loop_content' );


Generated: Thu Dec 2 01:00:58 2021 Cross-referenced by PHPXref 0.7.1