I have this code... but need it to show the latest post not blog..

Discussion in 'WordPress' started by locals, Dec 26, 2009.

  1. #1
    Hi I am using

    
    <?php
    $blogs = get_last_updated();
    if( is_array( $blogs ) ) {
    	?>
    	<ul>
    	<?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
    }
    ?>
    
    Code (markup):
    which shows the latest blog that has been updated on a WPMU website.

    I am not that good with php but what I would like is to show the latest POST from a different WPMU that is not the main blog.

    so i would like this code to display the latest post from the blog in which it is currently displaying, thanks.
     
    locals, Dec 26, 2009 IP