Recently one of our readers who has a multi-author WordPress blog asked us if there was a way to make sure that each author adds a feature image for their posts. Like most things, the answer is yes. In this article, we will show you how to require featured images for posts in WordPress. If the featured image is not found, then the publish functionality will return an error asking the author to add the featured image.
Why Require Featured Images for Posts?
WordPress makes it extremely easy to add featured images also known as post thumbnails. This is why most WordPress themes comes with built-in support for these additional image sizes. A lot of these layouts do not look good if the post thumbnail is missing.
The problem comes when you accidentally forget to add a featured image and publish the post. This gets worst if you have a multi-author team, and you don’t have a good editorial workflow.
To ensure that the featured image is always there, you have two options. First, you can set a default fallback featured image and that will sort of fix the issue because it will display a default image if no thumbnail was found.
Now while this fixes the layout issue, it is not always best case scenario. Alternatively, you can require featured images for all posts before they can be published.
Video Tutorial