WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how I can set an image as featured image for multiple posts.

I have posts in a seri that I would like to use the same image as featured image.

bulk edit doesn't have featured image in there though.

share|improve this question
An image uploaded to WP Media Library stays available for multiple posts. Even though you Featured the image once for a post, you can use the same image as a featured image for almost unlimited posts. Edit each one and then add feature image - browse the media library and make the image as featured image. What's stopping you? – Mayeenul Islam Sep 26 '13 at 18:51
@MayeenulIslam what I mean to ask was how to bulk edit those posts and set featured image for all at once. – Tuan Anh Tran Sep 27 '13 at 2:07

You could hook into the publish_post action, check if a featured image has been set, and if not, assign the image you want as the featured image.

The publish_post Codex page has a nice example about changing a post after it has been published.

share|improve this answer

we can use echo get_the_post_thumbnail($page_ID, 'thumbnail'); in php tag, where is the page/post id the page/post from where we want to display the featured image. Here is a link for it get_the_post_thumbnail

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.