Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * User Profile
- *
- * @package bbPress
- * @subpackage Theme
- */
- ?>
- <?php do_action( 'bbp_template_before_user_profile' ); ?>
- <div id="bbp-user-profile" class="bbp-user-profile">
- <h2 class="entry-title"><?php _e( 'Profile', 'bbpress' ); ?></h2>
- <div class="bbp-user-section">
- <?php if ( bbp_get_displayed_user_field( 'description' ) ) : ?>
- <p class="bbp-user-description"><?php bbp_displayed_user_field( 'description' ); ?></p>
- <?php endif; ?>
- <p class="bbp-user-forum-role"><?php printf( __( 'Forum Role: %s', 'bbpress' ), bbp_get_user_display_role() ); ?></p>
- <p class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s', 'bbpress' ), bbp_get_user_topic_count_raw() ); ?></p>
- <p class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count_raw() ); ?></p>
- <p><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">View Gallery</a></p>
- </div>
- </div><!-- #bbp-author-topics-started -->
- <?php do_action( 'bbp_template_after_user_profile' ); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement