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
?>
ID == $do_not_duplicate ) continue; //exclude the first single ID again
if( in_array($post->ID, $do_not_duplicate_2) ) continue; //exclude the second IDs in array
update_post_caches($posts);
?>
-