/templates/default/bbpress/user-profile.php

  1. <?php 
  2.  
  3. /** 
  4. * User Profile 
  5. * 
  6. * @package bbPress 
  7. * @subpackage Theme 
  8. */ 
  9.  
  10. ?> 
  11.  
  12. <?php do_action( 'bbp_template_before_user_profile' ); ?> 
  13.  
  14. <div id="bbp-user-profile" class="bbp-user-profile"> 
  15. <h2 class="entry-title"><?php _e( 'Profile', 'bbpress' ); ?></h2> 
  16. <div class="bbp-user-section"> 
  17.  
  18. <?php if ( bbp_get_displayed_user_field( 'description' ) ) : ?> 
  19.  
  20. <p class="bbp-user-description"><?php bbp_displayed_user_field( 'description' ); ?></p> 
  21.  
  22. <?php endif; ?> 
  23.  
  24. <p class="bbp-user-forum-role"><?php printf( __( 'Forum Role: %s', 'bbpress' ), bbp_get_user_display_role() ); ?></p> 
  25. <p class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s', 'bbpress' ), bbp_get_user_topic_count_raw() ); ?></p> 
  26. <p class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count_raw() ); ?></p> 
  27. </div> 
  28. </div><!-- #bbp-author-topics-started --> 
  29.  
  30. <?php do_action( 'bbp_template_after_user_profile' ); ?> 
.