Retrieve the thumbnail image

Using the_post_thumbnail() you can retrieve different sizes of the post featured image. It is important to enable post image by adding add_theme_support() to your them functions.php file.

Learn more

Leave a Reply