Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wordpress Get Thumnail Code
#1
Wordpress Thum Get code, use this custom code.
PHP Code:
<?php
$thumb_id 
get_post_thumbnail_id();
$thumb_url wp_get_attachment_image_src($thumb_id,'thumbnail-size'true);
echo 
$thumb_url[0];
?>
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)