Hi :) I have wordpress+Mu installed and things are good, however I am trying to list all the blogs in the sidebar, I am using the following code but do not know where to "add to" the info so I can have them display the post count next to the list and if I could have them go in alphabetical order. Here is the code, its taken from here. Thanks for your help
http://thejudens.com/eric/2009/08/wordpress-mu-list-blogs/
<?php if(is_front_page()){?>
<h1>Blog Directory</h1>
<?php
global $wpdb;
$query = "SELECT blog_id FROM " . $wpdb->base_prefix . "blogs WHERE spam != '1' AND archived != '1' AND deleted != '1' AND public = '1' AND blog_id != '1' ORDER BY path";
$blogs = $wpdb->get_results($query);
echo '<ul>';
foreach($blogs as $blog){
$blog_details = get_blog_details($blog->blog_id);
echo '<li><a href="'. $blog_details->siteurl .'">' . $blog_details->blogname .'</a></li>';
}
echo '</ul>';
}
?>
I think I might have it figured out with a plugin but I would rather hardcode it into the theme