League Schedule Tables 2

The second shortcode that can be used displaying league schedules uses only a league and a season for TEAMS, not GAMES. This can simplify the shortcode incantation, but it can also limit options to organize and display leagues by division and conference. It all depends on how a site organizes its teams in its leagues.

Pac-12 2016

The first schedule shows all the Pac-12 games in the 2016 season, including non-league games. Looks just like the first schedule on the League Schedule page.
[mstw_league_schedule_2 league=pac-12 season=2016 show_nonleague=1]

build_league_schedule: found 25 games.

2016-08-26 Hawaii vs Cal

2016-09-03 Southern California @ Alabama

2016-09-10 Utah State @ Southern California

2016-09-10 California @ San Diego State

2016-09-17 Southern California @ Stanford

2016-09-17 Texas @ California

2016-09-23 Southern California @ Utah

2016-09-24 California @ Arizona State

2016-10-01 Utah @ California

2016-10-01 Arizona State @ Southern California

2016-10-08 California @ Oregon State

2016-10-08 Colorado @ Southern California

2016-10-15 Southern California @ Arizona

2016-10-21 Oregon @ California

2016-10-27 California @ Southern California

2016-11-05 Washington @ California

2016-11-05 Oregon @ Southern California

2016-11-08 California @ Stanford

2016-11-10 Washington @ California

2016-11-12 California @ Washington State

2016-11-12 Southern California @ Washington

2016-11-19 Stanford @ California

2016-11-19 UCLA @ Southern California

2016-11-26 Notre Dame @ Southern California

2016-11-26 UCLA @ California

build_league_schedule: found 0 meets.

Pac-12 9/17 thru 10/27 2016

The same arguments are available to customize the tables. This table is the same as the second table on the League Schedules page.
[mstw_league_schedule_2 league=”pac-12″ season=2016 show_nonleague=1 first_dtg=’2016-09-17 00:00′ last_dtg=’2016-10-27 23:59′ schedule_team_link=none schedule_location_link=none schedule_time_link=none schedules_show_logo=0]

build_league_schedule: found 11 games.

2016-09-17 Southern California @ Stanford

2016-09-17 Texas @ California

2016-09-23 Southern California @ Utah

2016-09-24 California @ Arizona State

2016-10-01 Utah @ California

2016-10-01 Arizona State @ Southern California

2016-10-08 California @ Oregon State

2016-10-08 Colorado @ Southern California

2016-10-15 Southern California @ Arizona

2016-10-21 Oregon @ California

2016-10-27 California @ Southern California

build_league_schedule: found 0 meets.

Pac-12 9/17 thru 9/17 + 41 days 2016

Display the same date range in a different way. Put the links & back, but have them go different places.
[mstw_league_schedule_2 league=”pac-12″ season=2016 show_nonleague=1 first_dtg=’2016-09-17 00:00′ last_dtg=’+41′ schedule_team_link=team-url schedule_location_link=google-map]

build_league_schedule: found 11 games.

2016-09-17 Southern California @ Stanford

2016-09-17 Texas @ California

2016-09-23 Southern California @ Utah

2016-09-24 California @ Arizona State

2016-10-01 Utah @ California

2016-10-01 Arizona State @ Southern California

2016-10-08 California @ Oregon State

2016-10-08 Colorado @ Southern California

2016-10-15 Southern California @ Arizona

2016-10-21 Oregon @ California

2016-10-27 California @ Southern California

build_league_schedule: found 0 meets.

Pac-12 North 2016

If we now try to display ONLY Pac-12 North games, this shortcode does work quite the same as the first. This display is a bit different than the last schedule on the League Schedule page because it is grabbing ALL the games for teams in the Pac-12 North that are NOT marked non-league.
[mstw_league_schedule_2 league=pac-12-north season=2016 date_format=’Y-m-d’ schedules_name_format=’name’ time_format=’g:i A’]

build_league_schedule: found 17 games.

2016-08-26 Hawaii vs Cal

2016-09-10 California @ San Diego State

2016-09-17 Southern California @ Stanford

2016-09-17 Texas @ California

2016-09-24 California @ Arizona State

2016-10-01 Utah @ California

2016-10-08 California @ Oregon State

2016-10-21 Oregon @ California

2016-10-27 California @ Southern California

2016-11-05 Washington @ California

2016-11-05 Oregon @ Southern California

2016-11-08 California @ Stanford

2016-11-10 Washington @ California

2016-11-12 California @ Washington State

2016-11-12 Southern California @ Washington

2016-11-19 Stanford @ California

2016-11-26 UCLA @ California

build_league_schedule: found 0 meets.