• Resolved mhklrs

    (@mhklrs)


    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 value

    2. 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)
  • Plugin Author Ryan Welcher

    (@welcher)

    Hello and thanks for using AQL!

    As to your questions:

    1. At this time, there is not way to use “now” as a value for comparing post meta. Being able to use dynamic variables (now, current user, current post ID, etc) is something that has been asked for quite a bit. I am still looking at how to add that effectively so please bear with me 🙂
    2. Type is currently not supported but is on the roadmap.

    Plugin Author Ryan Welcher

    (@welcher)

    Going to close this out as resolved.

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.