Support

Account

Home Forums ACF PRO Taxonomy sub categories Reply To: Taxonomy sub categories

  • Hi @jordantrainor

    The inner loop you have highlighted won’t work as expected.
    The variable $term is an object, not an array of sub terms.

    To get the children of a term, you need to use some code like so:
    http://codex.wordpress.org/Function_Reference/get_term_children

    That function will allow you to load the child terms and then you can loop over them.