Calendar showing only Past Events
Calendarize it! makes it possible for you to display only Past Events by adding some attributes to the shortcode.
eventlistpastdays: This attribute uses an integer value. This is the number of days to go back in time.
eventlistreverse: This attribute uses the integer value “1” or “0”. If used with “1” it will show the more recent events first and if used with “0” it will show oldest events first.
right_trim_date: This attribute uses the integer value “1”. If used it will trim (remove) upcoming events until today’s date.
left_trim_date: This attribute uses the integer value “1”. If used it will trim (remove) past events until today’s date.
eventliststack: This attribute uses the integer value “1” or “0”. If “0” is used together with the preload attribute additional events will not be loaded and added to the event list when you scroll to the bottom.
preload: This attribute uses the integer value “1” or “0”. If “0” is used additional events will not be automatically loaded.
In the shortcode below, we have used the attribute feed=”0″ in order not to show events from External Event Sources.
[calendarizeit defaultview="rhc_event" eventlistpastdays="14" eventlistreverse="0" right_trim_date="1" preload="0" feed="0" eventliststack="0" header_left="" header_center="" header_right="month,agendaWeek,agendaDay,rhc_event"]