Top

extatix on "How to return the basic url of a thumbnail?"

March 15, 2010 by  

I changed it into

if ( function_exists('has_post_thumbnail') && has_post_thumbnail($post->ID) ) {
 $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );

		if (!$thumbnail[0]) return false;
		else return $thumbnail[0];

But it still doesn’t do what I want. Hm…

Share

Comments

Facebook comments:

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





*
Bottom