ID; // ID post to exclude in second loop ?>

ID == $do_not_duplicate ) continue; //exclude the first single ID update_post_caches($posts); $do_not_duplicate_2[] = $post->ID; // ID the second set, now an array, of posts to exclude ?>