Published on Oct 12, 2021

Past Events in Oxygen

Sridhar Katakam

This members-only tutorial provides the steps to display past or old events in Oxygen.

Note: For future or upcoming events, follow this tutorial.

While the tutorial uses The Events Calendar plugin, it will also work in the scenario of registering your own event CPT with the associated start_date custom field using a plugin like ACF/Meta Box.

We shall output the events using the Advanced query in Easy Posts (a Repeater can be used instead if you prefer that) in the descending order of event's start date i.e., the most recent past event at the top.

Step 1

Edit your Page/Template with Oxygen.

Add a Section and inside that, an Easy Posts component.

Template PHP:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-ocalendar-check-omagnifiercrossmenuchevron-downarrow-right