i’m looking for a good and easy way to have a custom post type “event” that can have multiple dates. (I have tested about 20 plugins). I think i have no problem building a metabox allowing the user to duplicate the field group “date and time” multiple times. But how would a query look like that creates a chronological list of events from the meta data?
(The project is a playing schedule for a theatre. Productions play on several dates.) Thank you!
Here’s a plan:
The full query would look like this:
PS: This requires you store the date in YYYY-MM-DD format, which you should do anyway, for compatibility with mysql2date() etc.