I am creating a homepage where blog posts are shown in post grid.
I want to exclude 2 categories only.
Post22 = categories: life, gadgets, phones
Post 23 = categories: home, tech, life
I want to exclude all posts that have the category “life”, but show everything else.
So I want to show all posts in categories gadgets, phones, home and tech. (But not the ones that also has the category life)
How ?
Hey peterolle,
take a look here, on how those code work
https://kriesi.at/support/topic/exclude-category-or-tag-from-masonry-pullavoid-duplicate-posts-on-frontpage/
Let us know if it works for you ;)
Best regards,
Basilis