Using Filter By Meta Queries with ACF date fields

Hi!

Each of my Posts is an event.
Each event has 2 ACF Datepicker fields : one is when the event starts (date_start), the other is when it ends (date_end).

Using the Extended Filters & Sorting > Filter By Meta Queries with the Carousel query loop :
is it possible to query only the Posts where the field date_end is after today (means excluding past events) ?
and, of course, to able to do the opposite on an other page : to query only the Posts where the field date_end is before today (events archive page)

Thanks

  • This topic was modified 40 minutes ago by charlie67p.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer