/bp-themes/bp-default/members/single/member-header.php

  1. <?php 
  2.  
  3. /** 
  4. * BuddyPress - Users Header 
  5. * 
  6. * @package BuddyPress 
  7. * @subpackage bp-default 
  8. */ 
  9.  
  10. ?> 
  11.  
  12. <?php do_action( 'bp_before_member_header' ); ?> 
  13.  
  14. <div id="item-header-avatar"> 
  15. <a href="<?php bp_displayed_user_link(); ?>"> 
  16.  
  17. <?php bp_displayed_user_avatar( 'type=full' ); ?> 
  18.  
  19. </a> 
  20. </div><!-- #item-header-avatar --> 
  21.  
  22. <div id="item-header-content"> 
  23.  
  24. <h2> 
  25. <a href="<?php bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a> 
  26. </h2> 
  27.  
  28. <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> 
  29. <span class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></span> 
  30. <?php endif; ?> 
  31.  
  32. <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> 
  33.  
  34. <?php do_action( 'bp_before_member_header_meta' ); ?> 
  35.  
  36. <div id="item-meta"> 
  37.  
  38. <?php if ( bp_is_active( 'activity' ) ) : ?> 
  39.  
  40. <div id="latest-update"> 
  41.  
  42. <?php bp_activity_latest_update( bp_displayed_user_id() ); ?> 
  43.  
  44. </div> 
  45.  
  46. <?php endif; ?> 
  47.  
  48. <div id="item-buttons"> 
  49.  
  50. <?php do_action( 'bp_member_header_actions' ); ?> 
  51.  
  52. </div><!-- #item-buttons --> 
  53.  
  54. <?php 
  55. /*** 
  56. * If you'd like to show specific profile fields here use: 
  57. * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field 
  58. */ 
  59. do_action( 'bp_profile_header_meta' ); 
  60.  
  61. ?> 
  62.  
  63. </div><!-- #item-meta --> 
  64.  
  65. </div><!-- #item-header-content --> 
  66.  
  67. <?php do_action( 'bp_after_member_header' ); ?> 
  68.  
  69. <?php do_action( 'template_notices' ); ?> 
.