I've set up a category field for events. Multiple categories can be chosen. And I've set up a form to "filter" events to a specific category using query parameters.

The URL looks something like this (simplified; region is the category):


Is there a way to show events that pertain to the category param in the month view?

Been banging my head and can't figure it out.

1 Answer 1


Figured it out. For anyone else seeing this later on:

{% set regionCategory = craft.categories.group('eventRegions').slug(region).one() %}

{% set month = craft.calendar.month({ relatedTo: regionCategory }) %}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.