Title: Problem taxonomy_terms
Last modified: August 31, 2016

---

# Problem taxonomy_terms

 *  [pmcruzm](https://wordpress.org/support/users/pmcruzm/)
 * (@pmcruzm)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problem-taxonomy_terms/)
 * Hi,
 * When I type in the field taxonomy_terms a term that it´s a parent, the result
   are wrong.
 * Thanks.
 * [https://wordpress.org/plugins/ajax-load-more/](https://wordpress.org/plugins/ajax-load-more/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problem-taxonomy_terms/#post-7103012)
 * 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?
 *  Thread Starter [pmcruzm](https://wordpress.org/support/users/pmcruzm/)
 * (@pmcruzm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/problem-taxonomy_terms/#post-7103145)
 * 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/](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.
 *  Thread Starter [pmcruzm](https://wordpress.org/support/users/pmcruzm/)
 * (@pmcruzm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/problem-taxonomy_terms/#post-7103175)
 * 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
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/problem-taxonomy_terms/#post-7103177)
 * 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);
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem taxonomy_terms’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/problem-taxonomy_terms/#post-7103177)
 * Status: not resolved