The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] categories/archives with an excerpt (4 posts)

  1. v1ktor
    Posted 7 years ago #

    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.


  2. asfodel
    Posted 7 years ago #

    Go to your theme's category.php file and put in
    <?php the_excerpt(__('(more...)')); ?>
    instead of
    <?php the_content(__('(more...)')); ?>

  3. v1ktor
    Posted 7 years ago #

    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?

  4. v1ktor
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic