Display Sport in Schedule Tables & Sliders

Schools and sports organizations frequently use one schedule table or slider to display the games for all their teams. This feature is supported in both the schedule tables and schedule sliders as described below.

Adding Sports to Schedule Tables

Schedule Table with Sports

To add the sports to a schedule table with multiple teams, simply add the parameter show_sport=1 to the shortcode. The schedule table above could be created via the following incantation:

[mstw_schedule_table sched=”baseball,softball,boys-lax,girls-lax,track-field,swim-dive,gymnastics” show_sport=1]

The steps required are:

  1. Create the teams; for example, Baseball, Softball, Track & Field, etc. As you create each team, assign a sport to it in the Team Sport/Season field. (Choose the sport names carefully. That’s what will appear on the front end.)
  2. Create a schedule for each team.
  3. Add games to each team’s schedule.
  4. Create a shortcode with all the teams on it as shown above.

There is no display setting to do this. The shortcode argument, show_sport must be set.

Adding Sports to Schedule Sliders

Schedule Slider with Sports

There are two methods to add sports to schedule sliders. The first is identical to the method described above for schedule tables. The schedule slider above could be created via the following incantation:

[mstw_schedule_slider sched=”baseball,softball,boys-lax,girls-lax,track-field,swim-dive,gymnastics” show_sport=1]

The second method uses each game’s schedule name as the sport. The incantation would like like:

[mstw_schedule_slider sched=”baseball,softball,boys-lax,girls-lax,track-field,swim-dive,gymnastics” show_schedule_name=1]

The required steps are:

  1. Create the teams; for example, Baseball, Softball, Track & Field, etc.
  2. Create a schedule for each team. Choose the schedule names carefully, they will appear on the front end. For example, Boys Basketball, Girls Lacrosse, Football, Track & Field etc.
  3. Add games to each team’s schedule.
  4. Create a shortcode with all the teams on it as shown above.

There is no display setting to do this. The shortcode argument, show_schedule_name must be set.