Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2011
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. ?>
  2.  
  3. <?php do_action( 'bp_before_members_loop' ); ?>
  4.  
  5. <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
  6.  
  7. <div id="pag-top" class="pagination">
  8.  
  9. <div class="pag-count" id="member-dir-count-top">
  10.  
  11. <?php bp_members_pagination_count(); ?>
  12.  
  13. </div>
  14.  
  15. <div class="pagination-links" id="member-dir-pag-top">
  16.  
  17. <?php bp_members_pagination_links(); ?>
  18.  
  19. </div>
  20.  
  21. </div>
  22.  
  23. <?php do_action( 'bp_before_directory_members_list' ); ?>
  24.  
  25. <ul id="members-list" class="item-list" role="main">
  26.  
  27. <?php while ( bp_members() ) : bp_the_member(); ?>
  28.  
  29. <li>
  30. <div class="item-avatar">
  31. <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
  32. </div>
  33.  
  34. <div class="item">
  35. <div class="item-title">
  36. <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
  37.  
  38. <?php if ( bp_get_member_latest_update() ) : ?>
  39.  
  40. <span class="update"> <?php bp_member_latest_update(); ?></span>
  41.  
  42. <?php endif; ?>
  43.  
  44. </div>
  45.  
  46. <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>
  47.  
  48. <?php do_action( 'bp_directory_members_item' ); ?>
  49.  
  50. <?php
  51. /***
  52. * If you want to show specific profile fields here you can,
  53. * but it'll add an extra query for each member in the loop
  54. * (only one regardless of the number of fields you show):
  55. *
  56. * bp_member_profile_data( 'field=the field name' );
  57. */
  58. ?>
  59. </div>
  60.  
  61. <div class="action">
  62.  
  63. <?php do_action( 'bp_directory_members_actions' ); ?>
  64.  
  65. </div>
  66.  
  67. <div class="clear"></div>
  68. </li>
  69.  
  70. <?php endwhile; ?>
  71.  
  72. </ul>
  73.  
  74. <?php do_action( 'bp_after_directory_members_list' ); ?>
  75.  
  76. <?php bp_member_hidden_fields(); ?>
  77.  
  78. <div id="pag-bottom" class="pagination">
  79.  
  80. <div class="pag-count" id="member-dir-count-bottom">
  81.  
  82. <?php bp_members_pagination_count(); ?>
  83.  
  84. </div>
  85.  
  86. <div class="pagination-links" id="member-dir-pag-bottom">
  87.  
  88. <?php bp_members_pagination_links(); ?>
  89.  
  90. </div>
  91.  
  92. </div>
  93.  
  94. <?php else: ?>
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement