WordPress.org

Ready to get started?Download WordPress

Forums

Want make categories display exerpts or titles, not full posts. (2 posts)

  1. envec
    Member
    Posted 8 years ago #

    Ok I want to make categories only show exerpts or only titles of the posts. I am using Blix theme and do not what to change. I think the php that governs this is the archive.php, here it how it looks like.

    _______________________________________________

    [moderated - long illegible code removed]
    _______________________________________________

    Do anyone know what I need to change to make categories show only exerpts or titles?

    Thanks

  2. BPartch
    Member
    Posted 8 years ago #

    Hello

    Replace the line that has the code for the content:

    <?php the_content('more_link_text', strip_teaser, 'more_file'); ?>

    with the code for the excerpt:

    <?php the_excerpt() ?>

    As you say, it should be in archive.php

Topic Closed

This topic has been closed to new replies.

About this Topic