I am scratching my head if this is even possible. I have a CPT with a repeater field called “dates”. The repeater contains multiple fields but I’m only interested in the field “date” (value returns as ‘Ymd’).
On my archive page I wan’t to modify the main query to only output those posts that have a date that lies in the future. I can query the value of the first date with its index like so: