Usage in custom WP Query?
-
Thanks for this lovely plug-in!
I’m having trouble figuring out how to effectively use the plug-in in a custom WP Query (inside a meta query).
My set up is as follows:
– I created a custom post type: event.
– I created a (conditional) custom start date field, an ‘is_recurring’ true/false field and a (conditional) recurring field.
– I created some event posts. Some are recurring (using the plug-in) and some have a single fixed starting date using the standard ACF date field.I would like to create a WP Query that retrieves all event posts where the start date is in the future. Or better in the upcoming week/month.
I have no issue creating this for just the events that have a fixed starting date, but I’m stuck trying to make the query also take into account the start date of the recurring events.
Thanks for your help.
- The topic ‘Usage in custom WP Query?’ is closed to new replies.