How To Show Excerpts Instead Of Full Posts On Your Blog Homepage

03.04.09 by Jerome in Tutorials

How To Show Excerpts Instead Of Full Posts On Your Blog Homepage

I came across an interesting question the other day. I wanted to feature only a short post excerpt for the homepage to promote more posts and push people to click, read and hopefully leave comments.
It doesn’t really make sense to have your full post on your homepage especially if you have a really long post and can feature only few headlines.
I know there are a few plugins out there that can do the job but by simply opening the index.php page find the tag:

<?php the_content(); ?>

replace it with:

<p><?php the_excerpt(); ?></p>

At this stage you will have the excerpt with [...]. I wanted to replace [...] with a nice link

Related posts:

excerpts, function, Tutorials

Get More Wordpress Tips & Tricks

Liked this post? subscribe to our email updates or RSS feed!

  • http://preparednesspro.wordpress.com/ preparednesspro

    Thanks Pimp My WordPress for your response to how to show excerpts instead of the full post. While I’m not a newbie to blogging, I’m not sure where to access the index.php. Any tips? Thank you again!

  • http://preparednesspro.wordpress.com preparednesspro

    Thanks Pimp My WordPress for your response to how to show excerpts instead of the full post. While I’m not a newbie to blogging, I’m not sure where to access the index.php. Any tips? Thank you again!

  • http://preparednesspro.wordpress.com/ preparednesspro

    Is it true that index.php is only available for wordpress.org users, not .COM users? Thanks!

  • http://preparednesspro.wordpress.com preparednesspro

    Is it true that index.php is only available for wordpress.org users, not .COM users? Thanks!

  • http://wpstart.org/ Terje Asphaug

    That is true

  • http://wpstart.org Terje Asphaug

    That is true

  • Bill Bartmann

    Excellent site, keep up the good work

  • Bill Bartmann

    Excellent site, keep up the good work

blog comments powered by Disqus