1,779 reputation
11456
bio website
location
age
visits member for 2 years, 7 months
seen 10 hours ago

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/…
Nov
21
comment Query set using tax_query with relation 'OR' modifies category object?
@Milo Did that. Couldn't figure anything from it by myself: pastebin.com/PDTAJb14
Nov
21
asked Query set using tax_query with relation 'OR' modifies category object?
Nov
21
accepted When to use 'get_category_by_path' vs. 'get_term_by' to get category object from `get_query_var( 'category_name' )`?
Nov
21
revised When to use 'get_category_by_path' vs. 'get_term_by' to get category object from `get_query_var( 'category_name' )`?
edited title
Nov
21
comment When to use 'get_category_by_path' vs. 'get_term_by' to get category object from `get_query_var( 'category_name' )`?
Actually, get_category_by_slug uses get_term_by not get_category_by_path, or am I missing something? (github.com/WordPress/WordPress/blob/master/wp-includes/…)