Skip to content

Change WordPress Category / Archive Page From Full Content to Excerpt

June 4, 2009

This problem was annoying me because WordPress themes may show the full content of every single post when you visit a category page or archives page, and I didn’t want that. I poked around the WordPress API and it turns out that you can just use a text editor (or the built in WordPress theem Editor) and search for function the_content() and change it to the_excerpt(). Simple!

These changes can be applied to the following files:

  • index.php
  • category.php
  • archive.php
  • archives.php
  • search.php

Related Posts.