Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $thumb_id = get_post_thumbnail_id();
- $thumb_url = wp_get_attachment_image_src($thumb_id,'thumbnail-size', true);
- echo $thumb_url[0];
- ?>
- // replace 'thumbnail-size' with actual image size per its name. ie full, large, medium, thumbmnail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement