Support » Fixing WordPress » get_the_post_thumbnail I only want the url

  • Hi all,

    Im trying to work with “get_the_post_thumbnail”.

    If i echo the result it does the following:

    “<img width=”940″ height=”198″ src=”http://localhost:8888/wordpress/wp-content/uploads/2010/07/fpage_91-940×198.png” class=”attachment-post-thumbnail wp-post-image” alt=”fpage_9″ title=”fpage_9″ />”

    However, all I want is the url of the image uploaded.

    Can this be done?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘get_the_post_thumbnail I only want the url’ is closed to new replies.