I would like to use the events schema from Snip instead of the one provided by The Events Calendar so I can provide the correct performer but I’m stuck on the location field.
I know that this information is stored in a different id (venue) and linked to the event, do you have any ideas how could I get the location values for each event?
By the way, I’m following this documentation https://rich-snippets.io/how-to-build-your-own-event-snippet-with-data-from-the-event-calendar-plugin/ but it’s not as actionable as this one https://rich-snippets.io/wp-job-manager/
Thanks for the support
One thought on “How to add location for The Events Calendar plugin”
you’re right. As you could read in the documentation, SNIP cannot follow any other IDs because it does not know where to look for. So you need your own custom PHP logic to retrieve this information.
If you’re familiar with PHP this may help: How to add your own field type