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:

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>