我正在使用此筛选器进行自定义摘录
<?php echo excerpt(90); ?>
http://bavotasan.com/2009/limiting-the-number-of-words-in-your-excerpt-or-content-in-wordpress/
但此过滤器在显示默认55个单词的第一篇特色帖子中不起作用否则就没问题了
<?php
$count = 1;
if (have_posts()) : while (have_posts()) : the_post(); if($count == 1) : ?>
<div id="featurd_post">
<div class="ftrd_image">
<?php woo_get_image(\'image\',455,245,\' \'.$GLOBALS[\'align\']); ?> </div>
<div class="fix"></div>
<div class="ftrd_entry">
<h2 class="title">
<a href="<?php the_permalink() ?>" rel="bookmark" title=""><?php the_title(); ?></a></h2>
<p class="fetrd_entry">**<?php echo excerpt(90); ?>**</p>
<a href="#" title="" class="read_more">(<?php _e(\'आगे
पढे \', \'shreshthbharat\'); ?>)</a>
</div></div>
<?php else : ?>
<div id="post">
<div class="post_image">
<?php woo_get_image(\'image\',455,245,\' \'.$GLOBALS[\'align\']); ?> </div>
<div class="fix"></div>
<div class="post_entry">
<h2 class="title">
<a href="<?php the_permalink() ?>" rel="bookmark" title=""><?php the_title(); ?></a></h2>
<p class="fetrd_entry">**<?php echo excerpt(90); ?>**</p>
<a href="#" title="" class="read_more">(<?php _e(\'आगे
पढे \', \'shreshthbharat\'); ?>)</a>
</div></div>
请引导。