Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp get post thumbnail

$img_url = wp_get_attachment_image_url(get_post_thumbnail_id(get_the_ID()), 'full');
<img src="<?PHP echo $img_url?> ">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wp #post #thumbnail
ADD COMMENT
Topic
Name
6+2 =