If post content exists (any post content), do not display featured image
Just check the raw post content without any filters:
if ( "" === $post->post_content )
{
the_post_thumbnail();
}
else
{
the_content();
}
Just check the raw post content without any filters:
if ( "" === $post->post_content )
{
the_post_thumbnail();
}
else
{
the_content();
}