Filter events list by custom taxonomy

Home Forums Calendar Products Events Calendar PRO Filter events list by custom taxonomy

  • This topic has 0 replies, 2 voices, and was last updated 8 years ago by Chris Booth.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1482928
    Chris Booth
    Participant

    I’ve created a custom taxonomy called “region” and I want to filter the list of events shown on a page (using the [tribe_events] shortcode) so that only events with a particular region are displayed.

    I’ve tried adding the region to the shortcode like this:
    [tribe_events region="europe"]
    but that doesn’t work.

    I can see that this sort of filtering is possible in the Events List widget, but I can’t see how to do it with this shortcode. A pointer in the right direction would be appreciated.

    Thanks,
    Chris

    #1483822
    Victor
    Member

    Hi Chris!

    Thanks for getting in touch with us!

    Unfortunately, the tribe_events shortcode does not work with custom taxonomies by default. The only taxonomy you can use as a shortcode attribute is events categories like the following:

    [tribe_events category="europe"]

    I hope that helps. Let me know if any follow up question.

    Best,
    Victor

    #1504434
    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 ‘Filter events list by custom taxonomy’ is closed to new replies.