I am using this filter for Custom excerpts
<?php echo excerpt(90); ?>
http://bavotasan.com/2009/limiting-the-number-of-words-in-your-excerpt-or-content-in-wordpress/
but this filter not working in first featured post showing default 55 words
else it's working fine
<?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>
please guide.
excerpt()
is not a core WordPress function. Please include the function definition forexcerpt()
in your question.