Use post object from first query in second query
The primary loop query post ID is stored in $current. This variable is equivalent to $post->ID. The secondary loop query post ID is available within the loop as $post->ID. Thus, you just need a simple if statement in side your secondary loop: <?php if ( $current == $post->ID ) { // This post is the … Read more