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.

How do I show an excerpt rather than the whole post? (2 posts)

  1. nats2907
    Posted 3 years ago #

    Hi, I've looked for this answer on the forums, but haven't yet found one that works.

    Please could somebody help me change the display of my posts, from whole posts to the featured image, title and an excerpt of the post?

    Here are a few details:
    The theme I'm using is 'scrappy'
    I have changed my home page to my 'uncategorized' archives
    All of my posts are checked as 'uncategorized' so as to have them appear on the home page

    I have seen an answer to change this

    < ?php the_content(); ?>


    < ?php the_excerpt(); ?>

    but there are several php files which contain this code, and I'm not sure which one to do it with.

    I would very much appreciate some help with this- thank you.

  2. Tammie
    Posted 3 years ago #

    If you wanting to change your home page to use the_excerpt you'd be looking at index.php or if your theme has one home.php. This assumes you aren't using a page template for your home page.

Topic Closed

This topic has been closed to new replies.

About this Topic