SyntaxFix
Write A Post
Hire A Developer
Questions
I would just use get_the_post_thumbnail_url() instead of get_the_post_thumbnail()
get_the_post_thumbnail_url()
get_the_post_thumbnail()
<img src="<?php echo get_the_post_thumbnail_url($loop->post->ID); ?>" class="img-responsive" alt=""/>