How to auto add excerpt in the wordpress blog home page
12 Comments » | This post was viewed 19452 times.
Excerpt are the best way to automate the “read more” tag on every post of your blog. It helps in enhancing the loading time of your blog and gave space to other post on your home page. Moreover this also helps you in optimizing the wordpress blogs as can help in showing more post in less area.
How to add excerpt in the index page of the wordpress blog
Few simple steps to add excerpt in your wordpress blog
1.Open your main index.php file (located in wp-content/theme/your-theme)
2.Check for similar codes
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2>