<?php
$blogs = get_last_updated();
echo 'Last updated blog IDs:<ul>';
foreach ($blogs AS $blog) {
echo '<li>'.$blog['blog_id'].'</li>';
}
echo '</ul>';
?>
this is the last updated blogs function but how to limit to to show e.g. last 10 blogs ? i think sth should be go on get_last_updated();
tim.moore
Member
Posted 16 years ago #
Check http://codex.wordpress.org/WPMU_Functions/get_last_updated
It looks like one of the parameters you can set will limit the return results as you want.
"how to limit to to show e.g. last 10 blogs ?"
The code for this is in /wp-content/themes/home/home.php
Also, there's a few plugins aroudn that do this too. http://wpmudevorg.wordpress.com
exactly how to limit it by $quantity parameter ?
well i found it in wpmu-functions.php file ... now Solved .