How To Show Past Posts (ACF Date Picker)?
Remember to update or publish your work as you go. Follow the image below.
Follow the steps below to show past posts using ACF Date Picker.
Step 1: Create Datepicker.
First, create the ACF date picker item in ACF and assign it to each of your posts.
Step 2: Create Post Loop.
Add the Archive Loop module and set up your posts as normal. Click HERE for more.
Step 3: Set Up Sort Order.
In the Loop options tab of the Archive Loop module select the following.
- ACF Date Picker in the Sort Order option.
- Your ACF date picker in the setting ACF Date Picker.
- Yesterday and before in the setting ACF Date Picker Method.