Title: Adding thumb/featured image to post.
Last modified: August 19, 2016

---

# Adding thumb/featured image to post.

 *  [Muxh](https://wordpress.org/support/users/caciocode/)
 * (@caciocode)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/adding-thumbfeatured-image-to-post/)
 * Hi all,
 * I am not so sure this is the right place to post this… This is not through admin
   but via scripting/coding.
 * I am creating a plugin that will create posts from external data. I have managed
   to insert posts and post meta, etc, but I haven’t yet found out how to add a 
   feature image to the post. I know how the images are saved through the wordpress
   insert functions but setting posts feature images is what I don’t know how.
 * Does anyone know the functions for this task? I can’t find it in WordPress reference.
 * Thanks.

The topic ‘Adding thumb/featured image to post.’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Muxh](https://wordpress.org/support/users/caciocode/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/adding-thumbfeatured-image-to-post/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
