Edu Clean blog counter

Is it possible to change the Edu Clean theme blog counter (top right hand site 'currently powering x blogs') to show number of groups instead?

...and if so where would I make this change?

I am creating a buddypress site without user blog creation

  • Mason
    • DEV MAN’s Sidekick

    Hiya,

    That I know of, BuddyPress doesn't have a function similar to compare to the WordPress get_sitestats. I think you'd have to directly query the database for the number which would looks something like:
    $query = mysql_query("SELECT COUNT(*) FROM wp_bp_groups");
    list($number) = mysql_fetch_row($query);
    echo "Thi site powers $number groups";

    Hope this helps! Thanks!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.