How to Show Total BuddyPress Site Member Count

How to Show Total BuddyPress Site Member Count

Here’s a quick tip for how you can show your total member count in your sidebar or header, or wherever you want to display it.

FREE EBOOK
Your step-by-step roadmap to a profitable web dev business. From landing more clients to scaling like crazy.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

FREE EBOOK
Plan, build, and launch your next WP site without a hitch. Our checklist makes the process easy and repeatable.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

Note: Displaying this information probably works best if you have more than ten members. ;) Putting this information in a prominent place can help to encourage new signups and display just how much your site is growing.

The following code added to sidebar.php will display something similar to the screenshot shown here.

We now have <?php bp_total_site_member_count() ?> Active Members!