How to show the excerpts of articles on home, search and archive pages?
By default, WordPress excerpt feature removes all format and displays first 55 words of written article. For some SEO reasons, it is good to display excerpt on home and archive pages.
To enable excerpt feature on home and archive pages, open your index.php file and look for the following line.
<?php the_content(); ?>
replace it with;
<?php if ($single) { the_content(); } else { the_excerpt(); } ?>
This code will display post content only on individual post pages.

Bookmark