/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,'large'); $image_url = $image_url[0];
URL: http://www.leewillis.co.uk/getting-url-post-thumbnails-wordpress/