If we have a custom post type 'Events' with a custom field for the event date, we may want to show a list of just the events that are in the future using the repeater or easy posts. This premium tutorial walks through how we can do exactly that.

For this tutorial, let's assume our custom post type is 'Events' and we have set up an event start date using Advanced Custom Fields. The field type is a date picker and the name of the field is 'event_date'.

Displaying the Events in Oxygen

Using the repeater settings, we can set the query to custom and change the post type to Events. This will show all of the events that are published.

We can design the repeater however we see fit.

Filtering the Results by Event Date

This is a premium members-only content.

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

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

You need to be logged in to view and post comments.
Not a member yet? Join here.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: