Display member count all over your BuddyPress social network
@MSoftwarenews tweets:
@LabSecrets – please show me how to show the current number of members of my social network wherever I want?
Fortunately, this one is pretty easy… so easy, we’re going “old-school” with a written post instead of a video!
Step One:
To make this happen without adding any code to your theme files, simply install the WP PHP widget plugin and the Select PHP Execution plugin. The former will make it possible to display member count in the sidebar or any other widget area, and the latter anywhere in a post or a page.
Step Two:
Copy and paste the following code to the PHP Widget if you want to place it in a sidebar, or into a post or page editor while using the HTML option (not the Visual Editor).
I’ve added some inline styling here to give it a little flair, though I suggest you add a class to the div and apply the styling via your custom.css style sheet if you want best results.
Ta Da!
See, I told it it was that easy… the end result should look something like this (shown in a sidebar).

