Advertisement
Guest User

Untitled

a guest
Aug 1st, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. <?php
  2. do_action( 'bp_before_member_header' );
  3. do_action( 'bp_profile_cover_path' );
  4. ?>
  5.  
  6. <div id="item-header-avatar">
  7. <a href="<?php bp_displayed_user_link(); ?>">
  8.  
  9. <?php bp_displayed_user_avatar( 'type=full&width=150&height=150' ); ?>
  10.  
  11. </a>
  12. </div><!-- #item-header-avatar -->
  13.  
  14. <div id="item-header-content">
  15.  
  16. <h2>
  17. <a href="<?php bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a>
  18. </h2>
  19.  
  20. <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
  21.  
  22. <span class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></span>
  23.  
  24. <?php endif; ?>
  25.  
  26. <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
  27.  
  28. <?php do_action( 'bp_before_member_header_meta' ); ?>
  29.  
  30. <div id="item-meta">
  31.  
  32. <?php if ( bp_is_active( 'activity' ) ) : ?>
  33.  
  34. <div id="latest-update">
  35.  
  36. <?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
  37.  
  38. </div>
  39.  
  40. <?php endif; ?>
  41.  
  42. <div id="item-buttons">
  43.  
  44. <?php do_action( 'bp_member_header_actions' ); ?>
  45.  
  46. </div><!-- #item-buttons -->
  47.  
  48. <?php
  49. /***
  50. * If you'd like to show specific profile fields here use:
  51. * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
  52. */
  53. do_action( 'bp_profile_header_meta' );
  54.  
  55. ?>
  56.  
  57. </div><!-- #item-meta -->
  58.  
  59. </div><!-- #item-header-content -->
  60.  
  61. <?php do_action( 'bp_after_member_header' ); ?>
  62.  
  63. <?php do_action( 'template_notices' ); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement