Is it possible to exclude categories by slug in
pre_get_posts? I can exclude categories by ID but it would be better if I can exclude posts by category name or slug.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community