Event Blocks Shortcode
Display events from a calendar in classic fixtures & results "blocks" layout. The calendar's post ID is required unless you're in The Loop.
Similar to the Event Calendar shortcode,
status can be set to
future. By default, it will use the calendar's setting.
date parameter can be set to
w to show events this week or
day to show events from today. Visit the WordPress settings (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.
1 links team names to their pages.
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.
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
array( 'id' => '', 'status' => 'default', 'date' => 'default', 'number' => '-1', 'link_teams' => '0', 'paginated' => '1', 'rows' => '10', 'order' => 'default', 'show_all_events_link' => '0' )
[event_blocks id="99" status="future" link_teams="0" paginated="1" rows="10" order="DESC" show_all_events_link="1"]