How can I hide all posts that don’t have a thumbnail?
What filter / hook should I use? You can use the pre_get_posts action hook. Following Tom’s comment on the question about querying for what you want, maybe set meta_query to _thumbnail_id. I would also ( group ) the conditionals to read: “Is both not admin and is main query, AND is either home, category, or … Read more