tax_query not working
-
I’m slowly going insane. I just can’t figure out what’s wrong with this code: https://pastebin.com/XuPydjBk
It should output the three pages with the custom taxonomy term I’ve set but instead it outputs all pages. Other query vars like posts_per_page effect the output as expected.
Any help would greatly be appreciated.
This is part of a shortcode that I’m not showing, but I’ve done a trouble-shooting and am fairly certain that the tax_query really is the issue.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘tax_query not working’ is closed to new replies.