How to an Show Excerpt with a Read More Link in WordPress

If you don’t want to have to use the more quicktag for every post, you can automate WordPress to display just the excerpt of a post on your home page, category page and archive page. This will also add a read more link to the rest of the article.

Find the below code in your archive.php, category.php and index.php template pages.

<?php the_content(__('Read more'));?><div style="clear:both;"></div>

Replace with:

<?php the_excerpt(); ?><span class="read_more"><a href="<?php the_permalink(); ?>">[ Read More &raquo; ]</a></span>

It is that simple!

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • Add to favorites
About Jeffrey Horen

I am the owner of Excelnet Media. We are a full service, one stop interactive web agency building extraordinary websites with extraordinary customer service for extraordinary clients.

Speak Your Mind