Exclue posts from TWO categories

Hi Bricksers,

I have two categories in two loops (container / block / loop on block) in one container.
In posts I am pulling out 3 posts of each categories. One cat1 and one cat2. This works for me normaly.

But I want to pull out third Query loop with both categories and offsets 3 posts of each categories. I try without code and not get resulst as I want.




Have you tired the “exclude” option that is right above where you are declaring your categories?

Cheers

Do you mean to exclude all other categories?

No, you can exclude or include taxonomies, but you can also include and exclude specific posts as well. This would apply to any content based on the post type you are querying.

You can see here: