Hi Guys,
What we’d like to do is produce a widget that works in a similar to the standard WordPress archives widget but for future events.
What we need is a list of months (eg. the next 12 months) and a link for each month to allow users to filter the events for a given month.
We can work out how to do it using a custom function that loops over all events in the next 12 months and uses the event start date to work out which month it should appear in, but this doesn’t seem to be very efficient. Is there a better way of doing it?
Thanks.