How to hide specific post type from archive?
pre_get_posts lets you change what a query is meant to retrieve, but what you’ve done is essentially: Grab posts of type A, B, C, then remove all the posts with these IDs that just happen to be all the posts of type B When what your end result should be is: Grab posts of type … Read more