It was one line of code in the original home theme, and is still available here:
http://trac.mu.wordpress.org/browser/trunk/wp-content/themes/home/home.php
For those too lazy to click, this code:
<?php
$blogs = get_last_updated();
if( is_array( $blogs ) ) {
?>
<ul>
<strong>Updated Blogs</strong>
<?php foreach( $blogs as $details ) {
?><li><a href="http://<?php echo $details[ 'domain' ] . $details[ 'path' ] ?>"><?php echo get_blog_option( $details[ 'blog_id' ], 'blogname' ) ?></a></li><?php
}
?>
</ul>
<?php
}
?>
Paste that in a theme file somewhere.
there are also plugin in the repo listed at the top of this page that will give latest posts AND are not outdated.
Thread Starter
b-rad
(@b-rad)
How can I use the above code only on the multisite home page and not each individual blog’s home page? I looked at the WP conditional tags but I didn’t see anything that would allow me to target that one main page. Thanks.
@b-rad – If I understand your question correctly you just need to add that code in a themefile on the root site.
Update, the trac link no longer works. Thank goodness Andrea posted the code for posterity!