Andrew Roberts
asked 10 years ago

I have no problem inserting the Read More function into the post so that just the first sentence appears with the post preview on the homepage. However, when I put text into the Excerpt box in the post editor, I still just see that first sentence. How do I make the Excerpt text appear? Thanks!
Drew

1 Answers
Wilfred
answered 10 years ago

Hi Andrew, To resolve this issue please follow my instruction here:
1. Open content.php file in /wp-content/themes/dw-wallpress/content.php
2. Replace following code – line 61 

<?php the_content(''); ?>

with:

<?php if ( has_excerpt() ): ?>
<?php the_excerpt(); ?>
<?php else: ?>
<?php the_content( '' ); ?>
<?php endif ?>

Hope this helps !

Andrew Roberts
replied 10 years ago

Worked great. Thanks!

Powered by DW Question & Answer Pro