[wp-hackers] Query Child Taxonomies dynamically

Joaquin Rodriguez Montero yojoaquin at gmail.com
Wed Oct 20 13:46:58 UTC 2010


Hi guys,

This is the scenario: I've three custom taxonomy's levels:
>Family

>>Mother-1
>>>Son-1
>>>Daughter-1

>>Mother-2
>>>Son-2
>>>Daughter-2

>Mother
>Son
>Daughter

etc.

I'm wondering how can I query *dynamically* the child taxonomies of the
bottom/*oldest* category.. meaning if I have a Post in: Family, Mother,
Mother-1, how can I query posts in Son-1 and Daughter-1 (which belong to
Mother-1)?

Any idea?

Cheers,

J


More information about the wp-hackers mailing list