A featured image is a very significant part of any website. It represents the mood, contents, or theme of a post or page of any website. Sometimes you don’t have a featured image for a post and you want to set featured image the first image automatically by grabbing the first image of your article.
How to Set Auto Featured Image in WordPress?
Here’s the simple way to set featured image automatically.
Hints: Add the following code snippet to the functions.php file of your active WordPress theme to automatically set the featured image for your posts. If you add a featured image to a post, then it will override this code and display your featured image instead.
Using Auto Post Thumbnail Plugins
There’s another way to automatically set the featured image by using third party auto post thumbnail WordPress plugins. These auto post thumbnail plugins which will help you to generate featured image easily and quickly from first image in a post or any custom post type.
1. Image Fetcher
Image Fetcher is a simple plugin that automatically converts image link to the featured image easily and quickly! Basically you can start converting by just one click!
2. Auto Post Thumbnail
Automatically generate the Post Thumbnail (Featured Thumbnail) from the first image in post or any custom post type only if Post Thumbnail is not set