Ready to get started?Download WordPress


get_the_post_thumbnail + I only want the url (2 posts)

  1. denzel2364
    Posted 3 years ago #

    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-940x198.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?

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic