Featured Image provide a better visual experience in WordPress website. If you have a multi author blog site, you probably looking for how to setup require a featured image in WordPress. If you want to require that all posts have a featured image before they can publish their blog posts.
If you want to stop a post publishing without a featured image or force featured image in WordPress, this post is only for you. In this post I will show you how to setup require a featured image in WordPress.
Plugin for Require Featured Image
If you want to enable require a featured image in WordPress, you need to install and activate Require Featured Image plugin. After activating the plugin you have nothing to do. It will automatically stop a post publishing without a featured image.
Code for Require Featured Image
If you don’t want to use plugin, you have another option too. You can enable require a featured image by adding a simple code into your functions.php files. You will find the functions.php located in your active WordPress theme directory.
If the code works please press the share button and share with your friends. And if you find any error, go to cpanel and remove the code from wp-config.php file