[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Group Members Loop template
   4   *
   5   * @since 3.0.0
   6   * @version 3.2.0
   7   */
   8  ?>
   9  
  10  <?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) ) ) : ?>
  11  
  12      <?php bp_nouveau_group_hook( 'before', 'members_content' ); ?>
  13  
  14      <?php bp_nouveau_pagination( 'top' ); ?>
  15  
  16      <?php bp_nouveau_group_hook( 'before', 'members_list' ); ?>
  17  
  18      <ul id="members-list" class="<?php bp_nouveau_loop_classes(); ?>">
  19  
  20          <?php
  21          while ( bp_group_members() ) :
  22              bp_group_the_member();
  23          ?>
  24  
  25              <li <?php bp_member_class( array( 'item-entry' ) ); ?> data-bp-item-id="<?php echo esc_attr( bp_get_group_member_id() ); ?>" data-bp-item-component="members">
  26  
  27                  <div class="list-wrap">
  28  
  29                      <div class="item-avatar">
  30                          <a href="<?php bp_group_member_domain(); ?>">
  31                              <?php bp_group_member_avatar(); ?>
  32                          </a>
  33                      </div>
  34  
  35                      <div class="item">
  36  
  37                          <div class="item-block">
  38                              <h3 class="list-title member-name"><?php bp_group_member_link(); ?></h3>
  39  
  40                              <p class="joined item-meta">
  41                                  <?php bp_group_member_joined_since(); ?>
  42                              </p>
  43  
  44                              <?php bp_nouveau_group_hook( '', 'members_list_item' ); ?>
  45  
  46                              <?php bp_nouveau_members_loop_buttons(); ?>
  47                          </div>
  48  
  49                      </div>
  50  
  51                  </div><!-- // .list-wrap -->
  52  
  53              </li>
  54  
  55          <?php endwhile; ?>
  56  
  57      </ul>
  58  
  59      <?php bp_nouveau_group_hook( 'after', 'members_list' ); ?>
  60  
  61      <?php bp_nouveau_pagination( 'bottom' ); ?>
  62  
  63      <?php bp_nouveau_group_hook( 'after', 'members_content' ); ?>
  64  
  65  <?php else :
  66  
  67      bp_nouveau_user_feedback( 'group-members-none' );
  68  
  69  endif;


Generated: Fri Dec 6 01:01:42 2019 Cross-referenced by PHPXref 0.7.1