1,819 reputation
11658
bio website
location
age
visits member for 2 years, 9 months
seen Aug 9 at 9:20

Nov
22
revised Query set using tax_query with relation 'OR' modifies category object?
added 138 characters in body
Nov
22
revised When/why does '$query->get( 'tax_query' );' return empty?
[Edit removed during grace period]
Nov
22
revised When/why does '$query->get( 'tax_query' );' return empty?
added 739 characters in body
Nov
22
revised Query set using tax_query with relation 'OR' modifies category object?
added 118 characters in body
Nov
22
revised When/why does '$query->get( 'tax_query' );' return empty?
added 611 characters in body
Nov
22
revised Multisite Conditional (if blog_id?) in a page template?
added 2 characters in body
Nov
22
revised Multisite Conditional (if blog_id?) in a page template?
added 1521 characters in body
Nov
22
answered Multisite Conditional (if blog_id?) in a page template?
Nov
22
revised When/why does '$query->get( 'tax_query' );' return empty?
added 4 characters in body
Nov
22
revised When/why does '$query->get( 'tax_query' );' return empty?
added 1537 characters in body
Nov
22
revised When/why does '$query->get( 'tax_query' );' return empty?
added 1537 characters in body
Nov
22
revised Query set using tax_query with relation 'OR' modifies category object?
edited body
Nov
22
asked When/why does '$query->get( 'tax_query' );' return empty?
Nov
22
comment Query set using tax_query with relation 'OR' modifies category object?
Posts that belong to the current category archive page's term OR the 'intl' category are being shown. But it appears that the category object for the page is set to point to 'intl' category and NOT the category archive page's term. For instance, <?php single_cat_title(); ?> shows "International" instead of "UK" for UK's archive page.
Nov
21
revised Query set using tax_query with relation 'OR' modifies category object?
edited body
Nov
21
comment Query set using tax_query with relation 'OR' modifies category object?
I thought it'd work. But it didn't change anything. Here's a var_dump in case you can see what's wrong: pastebin.com/PDTAJb14. And here's the full function (modified as per your instructions), just in case: gist.github.com/anonymous/31518bbee8aa1f50a243
Nov
21
revised Query set using tax_query with relation 'OR' modifies category object?
rolled back to a previous revision
Nov
21
revised Query set using tax_query with relation 'OR' modifies category object?
deleted 257 characters in body
Nov
21
revised Query set using tax_query with relation 'OR' modifies category object?
added 257 characters in body
Nov
21
comment Can I use $query->set() (in a pre_get_posts() hook) with a custom taxonomy in WP 3?
NOTE! AlxVallejo is wrong. $tax_query is not an object, $query is though (it's an instance of WP_Query): wordpress.stackexchange.com/questions/35196/…