Show Past Posts (ACF Date Picker)
If you want to show past posts using ACF Date Picker - it is quite simple using Divi Machine.
Step 1: Create Datepicker
First, you need to create the ACF date picker and assign these to each of your posts.
Step 2: Create Post Loop
Add the "Archive Loop" module and set up your posts as normal - see https://help.diviengine.com/article/72-archive-loop-module
Step 3: Set up Sort Order
In the Loop options tab,
- Choose "ACF Date Picker" in the Sort Order option.
- Choose your ACF date picker in the setting "ACF Date Picker"
- Last, Choose "Yesterday and before" in the setting "ACF Date Picker Method"
This will now show all posts from yesterday and before (useful for presenting past events)
See a screenshot below