Show bbPress topic/reply counts on BuddyPress profile
Is it possible to show a user’s forum topic count(or post count) in the buddypress profile page? It feels like it should be simple enough but hours of googling and reading topics here has left me more confused than when I started.
I can see its possible on a bbpress profile page, where it’s using:
<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>
Should I be calling a different function altogether, or is there a specific way to put bbPress functions inside a BuddyPress template page?
Any help would be greatly, greatly appreciated!
You must be logged in to reply to this topic.