Using custom datetime field for both filtering and sorting
-
I’m trying to achieve post feed that uses a DATETIME type custom field created with ACF to show upcoming events by order of upcoming events first.
From the meta query, I can see the custom field, but am unable to figure out the next steps.
1. How can I set “now” as the comparison value2. Does the plugin support different field types, as looking for similar code examples, it says that field type must be also defined separately.
Very much would prefer a plugin option and AQL looks like the most promising so far.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Using custom datetime field for both filtering and sorting’ is closed to new replies.