If you need to set the featured images for all of your old posts, checkout this plugin, Set All First Images As Featured will do the job for you.

You can choose on what post type you want to run the plugin (posts, pages, etc),  options to choose between dates, and you can also overwrite the existing featured images.

The plugin will look for the first attached image to a post, and if it can’t find it it will look for the first html image tag in the post and get the src attribute, this will only work if the image is on the same server as the website.

And don’t forget, when you run this plugin or any other plugin that makes any changes on you database make sure to do a backup first.

Set All First Images As Featured
Tagged on:

One thought on “Set All First Images As Featured

  • December 4, 2015 at 21:22

    Thank you for great plugin! Could you please add feature to set featured image for scheduled posts ?
    Actually this only works if you edit includes/class-core.php manually and replace all “publish” with “future”.


Leave a Reply to Andrey Cancel reply

Your email address will not be published. Required fields are marked *