Winter Solstice sale! 30% Off code: SOLSTICE24 Shop Now

ends midnight 12/21 PST

How to show past events

Last Updated: October 19, 2021

How to show past events

Is there a separate shortcode to show past events?

Not at the moment.

How to show past events with existing shortcodes without any addons

Past events can be shown using the below shortcode without needing any additional addons. However, this method will not eliminate the current month’s current events.

Example:

[add_eventon_list month_incre="-3" show_upcoming="1" number_of_months="2" hide_empty_months="yes"]

The shortcode (in the above example) will show 2 months on the month’s list, but the two months shown will be the past two months. If the current month is September, the above shortcode will display July and August.

TheĀ key in the above shortcode is the month_incre variable which is set to -2 (negative 2) — which pushes the time back to 2 months.

NOTE: When using this it’s important to make sure you have set “Hide past events in the calendar” option to “NO” in EventON settings.

How to show past events with EventLists Ext. Addon

With this shortcode

[add_eventon_el el_type="pe" el_title="Past Events" number_of_months="2" sep_month="yes" ]

Using the Eventlist Ext. addon, you can easily show only past events list regardless of the month.

 

Did this article help you?

Ready to setup your calendar?