Add body class to WordPress posts without featured image
You might need to apply different styling to posts without a featured image, this function will add a class to the body tag to all single posts without a featured image:
You might need to apply different styling to posts without a featured image, this function will add a class to the body tag to all single posts without a featured image: