1 Answer
1

set a variable in the first loop. like <?php $saved_post_id = $post->ID; ?> then later down the page use that variable like: <?php echo wp_get_attachment_url( get_post_thumbnail_id( $saved_post_id ) ); ?>