你可以用计数器设置。使用默认循环作为示例:
<?php
$firstExcerpt = 0; // Set the variable to 0 so we can check for it later.
if ( have_posts() ) : while ( have_posts() ) : the_post();
?>
<h2><?php the_title(); ?></h2>
<?php
if ($firstExcerpt < 1) { // Check if it\'s been displayed
the_excerpt();
$firstExcerpt++; // Changes the variable so that next time, it won\'t show
};
?>
<?php endwhile; endif; ?>