• I have a loop to displays events from the Tribe Events Calendar plugin posts:
    [loop type=tribe_events taxonomy=tribe_events_cat term=community,featured tax_compare=and orderby=field_num key=_EventStartDate order=ASC field=_EventEndDate after=today]
    Works great as long as none of the taxonomies have children. If one of the taxonomies has children the loop returns nothing. Is this because tax_compare=and requires that a post belong to both of the listed taxonomies and all of their children? Is there any way to write this so it requires only that the post belong to the specific listed taxonomies? There are a lot of terms in this taxonomy and it’s very helpful to have it hierarchical.

    Thanks, Susan

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

The topic ‘parent taxonomy as loop parameter’ is closed to new replies.