I’m slowly going insane. I just can’t figure out what’s wrong with this code: http://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.
- The topic ‘tax_query not working’ is closed to new replies.