the_excerpt on index.php not working
-
Hi,
When I use:
<?php the_excerpt(‘Read the rest’); ?><br class=”clearfloat”/>
<?php } else { ?>
<?php the_content(‘Read the rest’); ?>
<?php } ?>I get the whole article. It doesn’t use excerpt.
When I use:
<?php the_excerpt(‘Read the rest’); ?><br class=”clearfloat”/>
<?php } ?>I get just get the title even though I entered the exerpt into the post box.
And when I use:
<?php the_excerpt(‘Read the rest’); ?><br class=”clearfloat”/>
<?php } else { ?>
<?php the_excerpt(‘Read the rest’); ?><br class=”clearfloat”/>
<?php } ?>It all works.
Is that supposed to be the case or is something gong wrong with my index.php page?
THanks.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘the_excerpt on index.php not working’ is closed to new replies.