ACF Dynamic Date Range in Elementor loop grid
-
First, thanks for this amazing plugin! Using it a lot.
Background
For a heritage website we would like to show custom posts (Articles) between certain times (1939 – 1945). For creating custom posts we are using ACF and have set up a custom field with begin date (tijdvak_begin) and end date ç. The display format is j F Y and the return format is set to Ymd as seen in the documentation.
Goal
As said I would like to show all the Articles in an Elementor Loop grid.
As a proof of concept I set the following in the Article:
Begin (tijdvak_begin): 2 June 2025
Eind (tijdvak_begin): 15 June 2025
In the Query tab I have selected:
source: Articles
Date: custom
Before: 2025-06-17 12:00
After: 2025-06-01 12:00
Advanced Query Options: Dynamic Date and Time
Dynamic Date Options: Custom Field is Start Date, Custom Field is End Date
Start Field Name: tijdvak_begin
End Field Name: tijdvak_eind
Also tried:
Date: All
Start Field Name: tijdvak_begin >= 20250601
End Field Name: tijdvak_eind <= 20250617
This, however, results in nothing…
The topic ‘ACF Dynamic Date Range in Elementor loop grid’ is closed to new replies.