tribe_events_cat not including child items

Home Forums Calendar Products Events Calendar PRO tribe_events_cat not including child items

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #54536
    Cinch
    Participant

    In version 2.0.11 when I used tribe_events_cat = “my_parent_cat”; – the query would also pull in child category events. That no longer appears to work in 3.0.1. Are there new $args that need to be added?

    Thanks,
    ~ Bryan

    #54607
    Barry
    Member

    I’m not sure how you’re forming your query, but have you tried passing taxonomy parameters instead?

    #54609
    Cinch
    Participant

    Hi Barry,

    Here’s the code I’m using, which yes, passes taxonomy params: https://gist.github.com/spigotdesign/5979056

    This worked as expected in 2.0.11

    #54611
    Cinch
    Participant

    Testing out a Gist embed:

    #54612
    Cinch
    Participant

    Nope… sorry to hijack your forum this way… just wondering 🙂

    #54614
    Barry
    Member

    Yep the forum is, unfortunately, a pretty terrible host for code snippets.

    When I asked about taxonomy parameters though I really meant a tax query as described in the codex:

    http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters

    Have you tried/can you try that method?

    #54618
    Cinch
    Participant

    Hi Barry,

    Yes, that was the direction I needed. Here’s the updated code that works: https://gist.github.com/spigotdesign/5979056

    Thanks a ton, mark this one fixed!

    #54630
    Barry
    Member

    Excellent, thanks for reporting back with the final solution 🙂

    #979674
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘tribe_events_cat not including child items’ is closed to new replies.