Posted By

tcelestino on 08/18/11


Tagged

wordpress


Versions (?)

Get url thumbnail WordPress


 / Published in: PHP
 

  1. <?php
  2. //Get the Thumbnail URL
  3. $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array( 140,140 ), false, '' );
  4. echo $src[0];
  5. ?>

Report this snippet  

You need to login to post a comment.