Front page - Excerpt
http://wordpress.org/support/topic.php?id=24679
在wp-content/themes/default/index.php
修改首页模板,在原来循环显示post的地方,WP1.5 默认为
<?php the_content('Read rest of the content'); ?>
修改为如下代码:
<?php if($post->post_excerpt) :
$output = $post->post_excerpt;
$output .= ' <a href="'.get_permalink().'" rel="bookmark" title="Read the rest of '.the_title("","",false).'">Read the rest-></a>';
echo apply_filters('the_excerpt',$output);
else:
the_content();
endif;
?>