best way to get post excerpts and thumbnails (4 posts)

  1. goldmember
    Posted 4 years ago #

    i'm trying to get the homepage of this site to look like this rendering.

    I'm using the Twenty Eleven theme.

    The homepage is just a regular page, no special template, though on Reading Settings I selected it as the homepage.

    So I would like to add some php code the bottom in order to bring in the excerpts and thumbnails from 4 specific posts, just like in the jpg rendering.

    What's the best way to go about this? some sort of wp_query code? or get_posts? And how do I set it up? This sort of custom php code is not my strong suite so please bear with me.

    Please advise. Thanks in advance!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

  3. goldmember
    Posted 4 years ago #

    My child theme is active. No changes have been made to the parent Twenty Eleven theme. So I'm ready to rock...

  4. goldmember
    Posted 4 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic