1

This is my post entries with categories and tags

enter image description here

I am using Taxonomy query

When I use relation AND - Tax Query for Category Geed + Tag Cool
Nothing shows up.

But When I use relation OR 2 The post shows up.

isn't supposed to work the opposite way?

  • 2
    Where is a problem? On your screen no posts with Greed category and Cool tag, that's why you see nothing - AND means that post has both terms. – anton May 7 at 16:34
  • @anton Got the logic, Thanks I was thinking that it will list the post with Geed category and cool tag separately ..didn't know that the post needs to have both terms – Latheesh V M Villa May 7 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.