Forums

Getting Excerpts Instead of Full Posts to Display (2 posts)

  1. howtocalmanxiety
    Member
    Posted 5 months ago #

    I'm having trouble figuring out how to add excerpts of support posts to my homepage.

    My structure right now is really simple. I have 5 posts. The first post is "stickyed" and is the main content on my homepage. Currently, the other 4 posts are displaying all of their content on the homepage.

    I would like the other 4 posts to just appear as excerpts.

    Is there a way to do this easily?

    Just to clear up any confusion, my stickyed post is not a 'page', and therefore the Summary option in the Reading Options is not viable. (I don't think).

  2. alchymyth
    The Sweeper
    Posted 5 months ago #

    you will need to edit the template of your homepage (possibly index.php - depending on your theme - see http://codex.wordpress.org/Template_Hierarchy )

    then change the_content() to the_excerpt()

    http://codex.wordpress.org/Function_Reference/the_excerpt
    http://codex.wordpress.org/Template_Tags/the_content

Reply

You must log in to post.

About this Topic