Title: Populating post images
Last modified: August 19, 2016

---

# Populating post images

 *  [fratstrong](https://wordpress.org/support/users/fratstrong/)
 * (@fratstrong)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/populating-post-images/)
 * f you look at my site, I have an area named Top Winter Projects in the right-
   side navigation. I would like to automate this part of the site as I currently
   have to manually paste HTML into that particular section. What I want to be able
   to to do is have those images (which should link to the corresponding post) change
   based on the date.
 * I’ve tried using the featured image plugin, but that doesn’t seem to work with
   my theme for some reason. Is there an alternate route?
 * I’ve tried piecing some code together, but i’m a bit clueless when it comes to
   php. I’m also not sure how i’d get a picture to show up. Here is what I have,
   where 40, 50, & 60 are three posts. Can echo calls show pictures?
 * <? php
    $args = array(‘include’ => 40, 50, 60 ) echo get_posts($args); ?>
 * Here is my site: [http://www.merrimentdesign.com](http://www.merrimentdesign.com)
 * Thanks

The topic ‘Populating post images’ is closed to new replies.

## Tags

 * [layout](https://wordpress.org/support/topic-tag/layout/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [fratstrong](https://wordpress.org/support/users/fratstrong/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/populating-post-images/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
