How to Show Post Excerpts on Category Page?

Share:
Share

Most of the themes including Free and Premium now already come with Post Excerpts display on Category/Archives Page. It’s good to show Post Excerpts on Category Page if its not already set.

There’s nothing much you have to do except replacing a line of code from archives.php of your theme file.I’ll not beat about the bush or explain more about the codes in Archives.php here. Here’s a simple code to get things done.

Let’s do this

  • Open Archives.php and find this line of code in it.
<?php the_content(__(‘Continue Reading…’));?>
  • This calls the content of the post and adds “Continue Reading…” at the end. Now for showing excerpts. You can replace this whole line with
<?php the_excerpt() ?>
I hope you find this simple tip handy.. Leave a comment if you found this useful or you come across any problems.

Share:
Share

Tags: , ,

3 Responses to “How to Show Post Excerpts on Category Page?”

  1. saad 31. Dec, 2009 at 12:11 pm #

    Any improvements in your pagerank in the latest update?i got 3 from 0
    saad´s last blog ..How to Download YouTube Videos with Chrome Extensions My ComLuv Profile

    [Reply]

    Enk. Reply:

    Wow great. WPPanda is still PR2, guess not updated PR yet. Plus I don’t expect any improvement too.. haven’t blogged much eh! :)

    [Reply]

Trackbacks/Pingbacks

  1. Tweets that mention Show Post Excerpts on Category Page? -- Topsy.com - 28. Dec, 2009

    [...] This post was mentioned on Twitter by Enk., Enk.. Enk. said: Show Post Excerpts on Category Page? – http://bit.ly/4CkDZG #Wordpress #WP [...]

Leave a Reply

CommentLuv Enabled