Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: WPMU integration

@klark0

Member

I count the number of blogs and the number of the posts using two queries. All posts from all the other blogs are copied to blog_id 1. So i do like so

$count_posts = wp_count_posts();
echo $count_posts->publish;

and

$stats = get_sitestats();
$tmp_blog_count = number_format ($stats[ 'blogs' ] );
print "".$tmp_blog_count." blogs";

Can bbpress grab those ?

Skip to toolbar