Schedule Slider Shortcode [mstw_schedule_slider]

The schedule slider shortcode is:

[mstw_schedule_slider sched=schedule-slug]

The sched argument is REQUIRED. Nothing will display without it. Many other arguments are available to control the table as discussed below.

The schedule slider shortcode supports the display of schedule slider as shown below and on the MSTW Development Site.

Sample Schedule Slider

Multiple schedules may be combined on the same slider by adding schedule slugs separated by commas. For example, SCHED='schedule-1,schedule-2,schedule-3'Note: use the the schedule ID or slug, NOT the schedule title or name. Many other arguments available to customize individual schedule sliders are listed with their defaults below. Some of these settings/arguments overlap with the schedule tables, others do not.

//default schedule table shortcode arguments
'sched' 		=> '',                          // This is used for cdt & slider shortcodes too
'first_dtg' 		=> '1970:01:01 00:00:00',	// first php dtg
'last_dtg' 		=> '2038:01:19 00:00:00', 	// last php dtg (roughly)
'games_to_show' 	=> -1,
// shows game as "Sport vs Opponent" or "Sport @ Opponent"
'show_sport'		=> 0,
//default slider shortcode arguments
'title'			=> __( 'Schedule', 'mstw-schedules-scoreboards' ),
'link_label' 		=> '',
'link' 			=> '',
'show_schedule_name'	=> 0,    //shows the schedule name at the top of each slider block
			         //show/hide data fields and default labels FOR TABLES
'show_date'			=> 1,
'date_label'			=> __( 'Date', 'mstw-schedules-scoreboards' ),
'opponent_label'		=> __( 'Opponent', 'mstw-schedules-scoreboards' ),
'opponent_link'			=> 'no-link',
'show_location'			=> 1,
'location_label'		=> __( 'Location', 'mstw-schedules-scoreboards' ),
'show_time'			=> 1,
'time_label'			=> __( 'Time/Result', 'mstw-schedules-scoreboards' ),
'show_media'			=> 3,
'media_label'			=> __( 'Media Links', 'mstw-schedules-scoreboards' ),
'table_opponent_format'  	=> 'full-name',
'slider_opponent_format'	=> 'full-name',
'show_table_logos'		=> 'name-only', //Hide Logos
'show_slider_logos'		=> 'name-only', //Hide Logos
'venue_format'			=> 'name-only', //Show (location) name only
'venue_link_format'		=> 'no-link', //No Link

There is no schedule slider widget.

Add/Edit Game
Slider Display Settings
Slider Date & Time Settings
Slider Color Settings