Hi pmcruzm,
Sorry, I’m not sure what the issue is.
Can you provide some more details?
Are you saying you cannot query by child tax terms?
Hi dcooney,
I feel the delay in response 😉
You can see an example of what I comment on the following link http://cinetel.tv/test/material/
When I select “Caja de Luz” or “Cañones” in the first select, I pass taxonomy_term and displays the results correctly. The problem occurs when select “Iluminación”, is father of those categories, when I pass taxonomy_term shows nothing.
In WordPress I have the following tree categories for the post type
– Iluminación (131) {not show}
— Caja de Luz (2) {show ok}
— Cañones (5) {show ok}
Thanks.
Hi dcooney,
I tried to get all the post type for the term iluminacion, that’s a father term and all results shown.
$args = array(‘post_type’ => ‘portfolio’,’tax_query’ => array(array(‘taxonomy’ => ‘portfolio_filter’,’field’=> ‘slug’,’terms’=> ‘iluminacion’)));
$new = new WP_Query($args);
Have you any idea why the plugin does not work with that problem?
Thanks
Sorry, im not sure why this wouldn’t be working with child terms.
Did it work properly when you tried a custom query above?
$args = array('post_type' => 'portfolio','tax_query' => array(array('taxonomy' => 'portfolio_filter','field'=> 'slug','terms'=> 'iluminacion')));
$new = new WP_Query($args);