默认的theme里面只能显示最新更新的博客名称你说的有插件可以实现的可以看http://wpmudev.org/project/Most-recent-posts---updated下面的代码可以工作,但是要你自己整理一下[code] <div class="recent-posts">
<h2>Recent Posts</h2>
<?php
$blogs = get_last_updated();
foreach ($blogs as $blog) :
// we need _posts and _options tables for this to work
$blogOptionsTable = "wp_".$blog['blog_id']."_options";
$blogPostsTable = "wp_".$blog['blog_id']."_posts";
// we fetch the blog name
$opt2 = $wpdb->get_col("SELECT option_value FROM $blogOptionsTable WHERE option_name='blogname'");
// we fetch the latest post
$opt3 = $wpdb->get_row("SELECT * FROM $blogPostsTable WHERE post_status='publish' AND post_type='post' ORDER BY post_date DESC LIMIT 0,1");
// sometimes the guid is missing, so just use blog url
if (trim($opt3->guid)) {
$mypostlink = trim($opt3->guid);
} else {
$mypostlink = 'http://'.trim($blog['domain']);
}
$myposttitle = '<big><b>'.$opt3->post_title.'</b></big>
';
$mypostdetails = '<small>from '.trim($blog['domain']).' on '.strftime("%A, %B %d, %Y at %I:%M %p",strtotime($opt3->post_date)).'</small>
';
$mypostcontent = ''.$opt3->post_content.'';
print '<div class="post">'."n".$myposttitle."n".$mypostdetails."n".$mypostcontent."n</div>n";
endforeach;
?>
</div>[/code]
[[i] 本帖最后由 litchi 于 2008-3-9 04:15 编辑 [/i]]