The MU forums have moved to WordPress.org

Post excerpt from recent updated blogs (2 posts)

  1. ramnath007
    Member
    Posted 14 years ago #

    <h2>Blogs recently updted:</h2>
    
    <?php
    $blogs = get_last_updated();
    if( is_array( $blogs ) ) {
    	?>
    
    	<p><ul><?php foreach( $blogs as $details ) {
    		?><li><a href="http://<?php if ($details[ 'path' ]!="/blogs/") echo $details[ 'domain' ] . $details[ 'path' ] ?>"><?php if ($details[ 'path' ]!="/blogs/") echo get_blog_option( $details[ 'blog_id' ], 'blogname' ) ?></a></li><?php
    	}
    	?></ul></p>

    The above code shows recent updated blogs. Instead I want to show the recent updated blog posts (rather than the blogs itself) with excerpt. How shall I proceed?

    Thanks.

  2. andrea_r
    Moderator
    Posted 14 years ago #

About this Topic

  • Started 14 years ago by ramnath007
  • Latest reply from andrea_r