Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (has_post_thumbnail( get_the_ID() ) ): ?>
- <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'full' ); ?>
- <img src="<?php echo $image[0]; ?>" class="img-responsive"/>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement