If you create your own queries for these loops, all you have to do is to use post__not_in
param in these queries.
This way you will exclude given post from these loops.
And to get the ID of first post, just use get_posts
with 'fields' => 'ids'
If you create your own queries for these loops, all you have to do is to use post__not_in
param in these queries.
This way you will exclude given post from these loops.
And to get the ID of first post, just use get_posts
with 'fields' => 'ids'