On the home page of the blogging system, under the "Recently Updated Blogs" section, it lists EVERY blog. Is there any code I can add to this to allow only like the last 10 blogs or so?
Thanks,
Christian
On the home page of the blogging system, under the "Recently Updated Blogs" section, it lists EVERY blog. Is there any code I can add to this to allow only like the last 10 blogs or so?
Thanks,
Christian
Change home.php
$blogs = get_last_updated();
if( is_array( $blogs ) ) {
?>
to this
$blogs = get_last_updated();
if( is_array( $blogs ) ) {
$blogs = array_slice($blogs, 0, 10);
?>
Thank you!