Support » Fixing WordPress » categories/archives with an excerpt

  • Resolved v1ktor


    Hey guys,

    I want to change my categories and archive pages to show title and excerpt, instead of the whole article. Anyone can help me out on how to change that?

    I know I would have to edit WP files, rather than theme.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Go to your theme’s category.php file and put in
    <?php the_excerpt(__('(more...)')); ?>
    instead of
    <?php the_content(__('(more...)')); ?>

    My theme doesn’t have category.php file.

    However, I found category.php and category-template.php in my wp-includes.

    I couldn’t find the the_content line in any of those.

    What should I do now?

    never mind, fixed it. it was in index.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘categories/archives with an excerpt’ is closed to new replies.