Different views for different event categories

Home Forums Calendar Products Events Calendar PRO Different views for different event categories

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1089864
    Desmond
    Participant

    Hello,

    I’d like to set a different default view for different categories in the menu. Is this possible with you plugin Events Calendar PRO? How does the URL look like?

    Example:

    category A -> default view as map
    category B -> default view as list
    category C -> default view as photo

    I know already how to find the slug for the category, but not how to set an individual view. Could be something like this? ->/events/category/category-slug&view=map ?????

    Thanks
    yu

    #1090431
    Barry
    Member

    Great question!

    The form the URLs take for different views with categories applied are as per these examples:

    • /events/category/parties/week/
    • /events/category/dances/photo/
    • /events/category/black-tie/map/

    In other words, the pattern is:

    {event_view_slug} / {category_archive_slug} / {category_slug} / {view_slug}

    Does that help you in building out this customization?

    #1091681
    Desmond
    Participant

    Thanks, great. Works exactly as I wanted it 🙂

    Cheers
    yu

    #1091778
    Barry
    Member

    Fantastic, I’ll go ahead and close this topic but of course please don’t hesitate to create new topics as needed if you have any further questions.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Different views for different event categories’ is closed to new replies.