WordPress.org

Ready to get started?Download WordPress

Forums

RedBel
[resolved] Category view displays entire post (2 posts)

  1. Northbanu
    Member
    Posted 2 years ago #

    When viewing a category, the the entirety of all posts are shown, and a "Read More" link is displayed, even though there is actually nothing more to read (aside from comments). How do I go about displaying only the first paragraph or so?

    In Settings/Reading Settings, the option "For each article in a feed, show summary" is selected.

    http://wordpress.org/extend/themes/redbel/

  2. Northbanu
    Member
    Posted 2 years ago #

    Fixed. In case anyone else needs this info, here it is.

    As is almost the always the case, this option is documented. From WordPress codex documentation

    Modifying How Posts are Displayed
    Excerpts vs. Full Posts

    Perhaps you are looking to cut down on the size of your Category pages. You could do this by displaying excerpts rather than the entire content of each Post. To do this, you will just need to find where it says the_content() inside The Loop in your Template, and replace it with the_excerpt(). These will most likely be inside PHP tags:

    <?php the_excerpt(); ?>
    and
    <?php the_content(); ?>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags