WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. v1ktor
    Member
    Posted 5 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.

    thanks,
    v1ktor

  2. asfodel
    Member
    Posted 5 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
    Member
    Posted 5 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
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic