Daily Tip: How to Show Total BuddyPress Site Member Count

Internet Marketing

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.

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.

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

Post to Twitter Tweet This Post

No Related Posts Available

No Comments

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>