[tribe_events_list category] match all categories

Home Forums Calendar Products Events Calendar PRO [tribe_events_list category] match all categories

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1532422
    codinglab
    Participant

    Does the [tribe_events_list category] shortcode support filtering on multiple categories using AND logic instead of OR? (Match all)?

    for example [tribe_events_list category=”python-101, camps”]

    This will list all events that are tagged with “python-101” OR “camps” event categories.

    We would like to only show events that have both “python-101” AND “camps”.

    For example, we have “python-101” events that are “camps” and we have “scratch 101” events that are “camps”, so we want to list these separately.

    I know this is possible with the Event List widget and the [tribe_events] shortcode. But we are using this is in a sidebar (wrapped in a text widget), so we would like to use [tribe_events_list category]

    Thanks

    #1532782

    Hi Nobuko,

    Thanks so much for reaching out!

    Yes, the [tribe_events_list] shortcode does support adding in multiple categories.  You can separate them with commas, exactly as you did in your example that you provided.

    In order to show events that are both categories, you can try to create one event that is a parent category of the other, which would cause events that are listed as both cateogories to be listed.

    Let me know if you have any other questions on this topic!

     

    Thanks,

    Jaime

    #1549437
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘[tribe_events_list category] match all categories’ is closed to new replies.