When I used wordpress 2.6, "<?php the_excerpt(); ?>" the post display 55 words no wrong anything.
Now upgrade to 2.7, I can't use <?php the_excerpt(); ?>. It still working on 2.7?
When I used wordpress 2.6, "<?php the_excerpt(); ?>" the post display 55 words no wrong anything.
Now upgrade to 2.7, I can't use <?php the_excerpt(); ?>. It still working on 2.7?
Yes <?php the_excerpt(); ?> is still working.
Are you getting any other errors?
Now it's worked same original no wrong anything. I may forgot some step.
Sry for waste time to me.
Hi, Mrtee,
Does your themes index.php file contain code like this:
<div class="entry">
<?php /*?><?php the_content('Read the rest of this entry »'); ?><?php */?>
<?php the_excerpt(); ?>
</div>
The first line has been commented out and the second line, <?php the_excerpt(); ?> added.
The index.php file must be modified this way for excerpts to work.
Sorry for the post. I see that excerpts are working for you now.
This topic has been closed to new replies.