Event List Shortcode

Display a list of events from a calendar. The calendar's post ID is required unless you're in The Loop.

Example usage:

[event_list id="99"]

Similar to the Event Calendar shortcode,   status can be set to defaultpublish, or future. By default, it will use the calendar's setting.

The   date parameter can be set to w to show events this week or day to show events from today. Visit the WordPress settings page (Settings > General) to choose what day the week starts on.

By default, all events from the calendar will be included. Change the  number parameter to choose the number of events to show. A value of -1 will show all.

Setting   link_teams to 1 links team names to their pages. The link_venues parameter, similarly, links the venues with venue names.

The   sortableresponsive, and paginated arguments apply those scripts to the table. Change the rows value to set the number of rows to display when responsive mode is on.

Use   order to sort the events by date in ASC (ascending) or DESC (descending) order. By default, it will use the calendar's setting.

If you would like to show a link to view all events below your calendar, set   show_all_events_link to 1.

Args:

array(
	'id' => '',
	'status' => 'default',
	'date' => 'default',
	'number' => '-1',
	'link_teams' => '0',
	'link_venues' => '1',
	'sortable' => '1',
	'responsive' => '1',
	'paginated' => '1',
	'rows' => '10',
	'order' => 'default',
	'show_all_events_link' => '0'
)

Example usage:

[event_list id="99" status="future" show_all_events_link="1"]

Still need help? Submit a Support Ticket Submit a Support Ticket