Please let us know how can we add a meta custom field like “Language” for example, to each event, and then use it as a filter for the EE calendar.
We guess we can use the custom meta in WP and add the meta field, but what is the best way to use this field as a filter after that?
The calendar pulls datetimes using EEM_Datetime, so to pull datetimes related to events with a specific post meta key/value, you can do something like this:
Which will work for events with a custom meta key of ‘Language’ and value ‘English’, you’ll need a way to dynamically set that value on the page to use within the filter but I’m assuming you already have that.
Viewing 1 reply thread
The support post ‘Add custom meta and use it as filter in EE calendar’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.