Guest User

Untitled

a guest
Sep 21st, 2014
640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * BuddyPress - Users Header
  5. *
  6. * @package BuddyPress
  7. * @subpackage bp-legacy
  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. <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
  25. <h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2>
  26. <?php endif; ?>
  27.  
  28. <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
  29.  
  30. <?php do_action( 'bp_before_member_header_meta' ); ?>
  31.  
  32. <div id="item-meta">
  33.  
  34. <?php if ( bp_is_active( 'activity' ) ) : ?>
  35.  
  36. <div id="latest-update">
  37.  
  38. <?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
  39.  
  40. </div>
  41.  
  42. <?php endif; ?>
  43.  
  44. <div id="item-buttons">
  45.  
  46. <?php do_action( 'bp_member_header_actions' ); ?>
  47.  
  48. </div><!-- #item-buttons -->
  49.  
  50. <?php $data = bp_get_member_profile_data( 'field=yndlingshistoriker' );
  51. if( $data != '' )
  52. echo $data; ?>
  53.  
  54. </div><!-- #item-meta -->
  55.  
  56. </div><!-- #item-header-content -->
  57.  
  58. <?php do_action( 'bp_after_member_header' ); ?>
  59.  
  60. <?php do_action( 'template_notices' ); ?>
Advertisement
Add Comment
Please, Sign In to add comment