I have a post type named “Events”, and I am using the repeater ‘event_dates’ with a sub field called ‘date’. I need a loop that sorts only the future events based on the date of the first row and that stays visible until the date of the last row, keeping in mind that in some cases there will be only one row.
I can really use some help! Will be greatly appreciated!!!
James, appreciate your help. I have already spent sometime looking through forums trying to find a solution for what I need to no avail.
I pretty much need my loop to output a list of events based on a repeater subfield where the backend user can assign to the event one or several dates, and the loop needs to sort upcoming events sorted in order by the earliest date and keep them active until the latest date set in the repeater.
Hi @vefusion
Could you please share the JSON export file of your field group and some screenshots of the data on the backend? Also, could you please let me know the result you want to achieve?
Thanks 🙂