Listing all blogs?
-
i have a Mu set up where the home.php page list all the updated blogs by name and description using a nice bit of code done by a kind sole on here …
$blogs = get_last_updated(); if( is_array( $blogs ) ) { ?> <ul> <strong>Our latest updated blogs...</strong> <?php foreach( $blogs as $details ) { ?><li> <b><a href="https://<?php echo $details[ 'domain' ] . $details[ 'path' ] ?>"> <?php echo get_blog_option( $details[ 'blog_id' ], 'blogname' ) ?></a></b><br> <?php echo get_blog_option( $details[ 'blog_id' ], 'blogdescription' ) ?> </li><?php }"
unfortunatly i have outgrown this a bit as for some reason this code only shows the top 40 updated blogs (i only found this out when i got past 40) how can i have it so that i can have a page 2 with the next 40 blogs and so on? (is this possible?)
thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Listing all blogs?’ is closed to new replies.