Wordpress 4
Check for Featured Image and Display It With The Caption
First check for the existence of the image then display it in the content area: In the template us this: // check if the post has a Post Thumbnail assigned to it. if ( has_post_thumbnail() ) { the_post_thumbnail(); } This defaults to the Thumbnail size under Settings. Size can be set by adding sizing parameters…
Read More