How to hide a post from archives
You’ll want to filter the main query via pre_get_posts callback. If you’ll only want to handle one specific post in this manner, you can reference/exclude its post ID directly. If, however, you want this same behavior for any future private posts, then I would query all posts with $post->post_status of private, and exclude them. One … Read more