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

Step 3: Set up Sort Order

In the Loop options tab, 

  1. Choose "ACF Date Picker" in the Sort Order option.
  2. Choose your ACF date picker in the setting "ACF Date Picker"
  3. 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

Still need help? Contact Us Contact Us