echo the_post_thumbnail url
-
Hi!
I’d like to find a way to echo the value of the url of the image defined as the_post_thumbnail.
So far
<?php the_post_thumbnail(); ?>
returns the complete image, but I would like to be able to echo only the url.Is that possible?
Thank you for your help!
- The topic ‘echo the_post_thumbnail url’ is closed to new replies.