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

  1. envec
    Posted 9 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?


  2. BPartch
    Posted 9 years ago #


    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