How To Automatically Set The Featured Image In WordPress

How To Bulk Remove Featured Images From WordPress Posts

If you’re changing your WordPress’ theme or niche to a non-featured image one, or doing something similar to this, then you might wanna remove featured images from WordPress posts.

It’s impossible for blogs with tons of post to remove the featured images from all posts at once, but WPBeginner has a great snippet to remove all featured images at once. This snippet will only remove the featured images from the posts, but the image will not be deleted from your site.

Add following snippet to your theme’s functions.php file:

[alert style=”red”]Note: Please remove this code immediately after saving your functions.php file. You only need to run this code once, there’s no need to keep this code in your theme.[/alert]