Advertisement
Guest User

Untitled

a guest
Dec 29th, 2011
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. <?php get_header( 'buddypress' ); ?>
  2.  
  3. <div id="content">
  4. <div class="padder">
  5.  
  6. <?php do_action( 'bp_before_member_home_content' ); ?>
  7.  
  8. <div id="item-header" role="complementary">
  9.  
  10. <?php locate_template( array( 'members/single/member-header.php' ), true ); ?>
  11.  
  12. </div><!-- #item-header -->
  13.  
  14. <div id="item-nav">
  15. <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
  16. <ul>
  17.  
  18. <?php bp_get_displayed_user_nav(); ?>
  19.  
  20. <?php do_action( 'bp_member_options_nav' ); ?>
  21.  
  22. </ul>
  23. </div>
  24. </div><!-- #item-nav -->
  25.  
  26. <div id="sidebar-squeeze">
  27. <div id="main-column">
  28.  
  29. <div id="item-body">
  30.  
  31. <?php do_action( 'bp_before_member_body' ); ?>
  32.  
  33. <?php do_action( 'bp_before_following_loop' ) ?>
  34.  
  35. <?php if ( bp_has_members( 'include=' . bp_get_following_ids() ) ) : ?>
  36.  
  37. <div class="pagination no-ajax">
  38.  
  39. <div class="pag-count">
  40. <?php bp_members_pagination_count() ?>
  41. </div>
  42.  
  43. <div class="pagination-links">
  44. <?php bp_members_pagination_links() ?>
  45. </div>
  46.  
  47. </div>
  48.  
  49. <?php do_action( 'bp_before_following_list' ) ?>
  50.  
  51. <ul id="following-list" class="item-list">
  52. <?php while ( bp_members() ) : bp_the_member(); ?>
  53.  
  54. <li>
  55. <div class="item-avatar">
  56. <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
  57. </div>
  58.  
  59. <div class="item">
  60. <div class="item-title">
  61. <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
  62.  
  63. <?php if ( bp_get_member_latest_update() ) : ?>
  64.  
  65. <span class="update"> <?php bp_member_latest_update(); ?></span>
  66.  
  67. <?php endif; ?>
  68.  
  69. </div>
  70.  
  71. <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>
  72.  
  73. <?php do_action( 'bp_directory_members_item' ); ?>
  74.  
  75. <?php
  76. /***
  77. * If you want to show specific profile fields here you can,
  78. * but it'll add an extra query for each member in the loop
  79. * (only one regardless of the number of fields you show):
  80. *
  81. * bp_member_profile_data( 'field=the field name' );
  82. */
  83. ?>
  84. </div>
  85.  
  86. <div class="action">
  87.  
  88. <?php do_action( 'bp_directory_members_actions' ); ?>
  89.  
  90. </div>
  91.  
  92. <div class="clear"></div>
  93. </li>
  94.  
  95. <?php endwhile; ?>
  96. </ul>
  97.  
  98. <?php do_action( 'bp_after_following_list' ) ?>
  99.  
  100. <?php else: ?>
  101.  
  102. <div id="message" class="info">
  103. <p><?php _e( "Sorry, this member has no following.", 'bp-follow' ) ?></p>
  104. </div>
  105.  
  106. <?php endif; ?>
  107.  
  108. <?php do_action( 'bp_after_following_loop' ) ?>
  109.  
  110. <?php do_action( 'bp_after_member_body' ); ?>
  111.  
  112. </div><!-- #item-body -->
  113.  
  114. <?php do_action( 'bp_after_member_home_content' ); ?>
  115.  
  116. </div><!-- #main-column -->
  117. <?php get_sidebar( 'buddypress' ); ?>
  118. </div><!-- #sidebar-squeeze -->
  119.  
  120. </div><!-- .padder -->
  121. </div><!-- #content -->
  122.  
  123. <?php get_footer( 'buddypress' ) ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement