Posted By

ricosushi on 11/19/10


get url wordpress thumbnail the

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


wp get the thumbnail url

 / Published in: PHP

get the thumbnail url

  1. //Get the Thumbnail URL
  2. $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array( 720,405 ), false, '' );
  3. echo $src[0];

Report this snippet  

You need to login to post a comment.