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.
1 | <? 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
1 | <? php the_excerpt() ?> |