I find the solution: Tax_query not working on multisite
(I dont say, that I work with switch_to_blog, because everything is works fine with this function… everything, including postmeta queries, category__not_in, etc., but EXCEPT: tax_query)
So, “you have to register that custom taxonomy in both blogs”. <– so the problem originate from the different themes, when in the current used theme not registered the custom taxonomy. [BUT, DONT NEED TO ADD TERMS TO THIS TAX, only register]
Related Posts:
- how to access the $query variable inside taxonomy-xxx.php template file?
- “tax_query” parameter not working with WP_Query
- Retrieve posts by term id custom query
- Display category posts grouped by taxonomy
- Custom Taxonomy and Tax_Query
- pre_get_posts with tax_query causes empty result
- restrict_manage_posts not working in 3.3.1
- Including all terms in wordpress tax_query
- Using tax_query creates a 1 = 0 or 1 = 1 in $wp_query->request
- search query within custom taxonomy term, post title and meta field
- Filter all queries with a specific taxonomy
- wp_query orderby title and meta key value (WP3.1)
- Querying Posts by Taxonomy From Alternate Network Site
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- tax_query not working on main query
- Ordering Posts with Custom Taxonomy Terms Array
- List taxonomy / category count showing list published posts only
- why do drafts return as part of wp_query?
- Dynamically tax_query terms
- Taxonomy.php issue with search and filters
- How to List Parent Term Links for Custom Taxonomy With & Without Children?
- How to output content based on same custom taxonomy?
- How do I sort posts by custom taxonomy?
- pre_get_posts Tax Query not working for custom author page
- Recreating the hierarchy of taxonomies for a dropdown form menu?
- Get pages only with a specific taxonomy
- How to add autocomplete to custom taxonomy for CPT
- $wpdb query a post type within a specific taxonomy term while ordering posts by custom meta value?
- ‘wp’ action hook not firing in admin and login?
- Taxonomy archive showing no results
- Print terms with taxonomy and metabox value
- Get taxonomy parent using child slug (from merged taxonomies)
- Manipulate WP Query using a custom post type and multiple tax_query taxonomies
- Checkbox onclick filtering on the same page
- Retrieve Custom Taxonomies according to posts selected
- Some of my custom taxonomies are not showing but still counted in a WPMU set up
- Custom Taxonomy Not Working When added to WordPress Search
- A way to query custom taxonomies by name
- get the taxonomies terms associated with users
- Hiding taxonomies with no children WP_Query & tax_query
- Rewrite Rules returning wrong data
- Sorting main query by custom taxonomy slug
- WordPress Custom post query sorting does not work
- List related terms + taxonomies
- Set tax_query conditionally with new WP_Query
- Search Query for Multiple Terms In Same Taxonomy
- WP Multisite: Are custom taxonomies specific to each site only?
- tax_query not working
- Exclude taxonomy term from all loops, but having it on widget
- How to do a particular wp_query taxonomy search
- tax_query: Don’t show posts with parent term when they have a corresponding child term applied
- Create alphabetical Pagination for custom taxonomy?
- Custom arguments in WP_Query
- get_term_by works but get_terms doesn’t?
- Get list of taxonomies associated with users
- query_posts that have custom taxonomy and limiting what shows based on the taxonomy
- Several taxonomy query (like filter)
- Taxonomy archive template that shows posts from more than one taxonomy
- WP_Query tax_query – Show results if child has parent X
- Displaying Posts Attached to Custom Taxonomy Terms
- Update Custom Taxonomy Value for a post based on custom date field
- how to use tax_query to apply both terms or one if one is empty
- Get 1st parent category id from post
- How to get the term description in a taxonomy term archive query?
- Extra Meta Data for WordPress Multisite Taxonomy
- making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
- Query Multiple Custom Taxonomies
- Get Posts Related to Category By category id or slug
- Display just the Post’s parent Category, not child
- Tax-query on taxonomy doesn´t work
- how do you pull data from two taxonomies?
- Query by multiple custom taxonomies
- Country-specific content
- WP Query : strange behaviour with multiple no-hierarchical tax
- WordPress search form and search result through ACF field in custom taxonomy
- WordPress Multiple Taxonomy Query
- How can I get all the posts that are related with a specific taxonomy term?
- Custom query for tag and custom tag from 2 post type
- Multisite custom taxonomy archive issues
- Query pages by child term
- Can I use multi (sub) levels of relation (AND | OR) on custom query?
- Tax Query not working
- WordPress hiding posts without content on custom taxonomy query. How to solve?
- Custom taxonomy – query returns an error
- How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?
- Tax query array terms display out of order
- How to perform a search inside a specific taxonomy category
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- Advanced AND tax_query in sidebar with 2 taxonomies
- add_query_arg to look up page title
- How to update WordPress custom SQL Select query for custom taxonomies so that syntax is correct?
- How to limit posts to 1 from each term with tax_query?
- Can I use $query->set() (in a pre_get_posts() hook) with a custom taxonomy in WP 3?
- How can I query for all values of a custom taxonomies?
- query grandchildren taxonomy terms
- wp_get_object_terms count on taxonomies within an category archive
- Complex Taxonomy scheme
- How to get the singular name of a custom taxonomy?
- Changing stylesheet depending on custom taxonomy terms
- How To Assign “Taxonomy per Taxonomy”?