Does anyone know of a way to retrieve only the URL of the featured image for a post? I can get the image to display wrapped in an <img> tag by using
<?php the_post_thumbnail( 'single-post-thumbnail' ); ?>
But i want to use the featured image as a background to a div, so this isn't helpful.
Any help greatly appreciated.