Rather than displaying all the blogs on the site, we will display the most recently updated ones using a plugin called AHP Sitewide Recent Posts, available at http://wpmudev.org/project/AHP-Sitewide-Recent-Posts-for-WPMU.
Download the plugin and extract it to your
/wp-content/plugins
folder. You may want to rename it to something more recognizable than the default name—for example,recent_posts.php
.Upload the plugin to your web server and enable it in your admin panel.
Open the
r_sidebar.php
file for the main site's theme.Add the following code where you want the recent posts to appear. In our case we replaced the list of available themes with it.
<h2>Recent User Posts</h2><ul> <li><?php ahp_recent_posts(5, 30); ?></li> </ul>
Upload the changes. You should see a list of recent posts in the sidebar, as shown in the following screenshot: