Countdown Timer Widget

Schedule and countdown widget adminThe countdown timer SHORTCODE [mstw_gs_countdown] accepts the following three arguments:

1. sched=”schedule-slug” tells the shortcode what schedule to display.
2. intro=”text string” defines what string to display before the countdown. Defaults to “Time to kickoff:”
3. home_only=”true/false” tells the shortcode to countdown to home games only. Defaults to false (all games).

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

The countdown timer WIDGET supports the same parameters along with a widget title.

As of version 4.0, the shortcode will also accept the following arguments:

  1. show_table_logos = “name-only|logo-only|logo-name”
  2. table_opponent_format = “short-name|full-name|short-name-mascot|short-name-mascot”
  3. cdt_dtg_format=”custom” Note that this argument has to be paired with the following argument.
  4. custom_cdt_dtg_format= “any valid PHP date() format string” Note that this format should be a date+time format for when the game time is not T.B.D.
  5. cdt_date_format=”custom” Note that this argument has to be paired with the following argument.
  6. custom_cdt_date_format= “any valid PHP date() format string” Note that this format should be a date only format for when the game time is T.B.D.