Games (shortcode)

Image 256

[sl-games tournament_id="" stage_id="" season_id="" group_id="" round_id="" league_id="" date_from="" date_to="" venue_id="" finished="" limit=""]

Shortcode Attributes

  • tournament_id – tournament ID
  • stage_id – tournament stage ID
  • season_id – season term ID
  • league_id – league term ID
  • group_id – group ID
  • round_id – round ID
  • date_from – games from date. Format: YYYY-MM-DD.
  • date_to – games before date. Format: YYYY-MM-DD.
  • venue_id – filter by venue ID
  • finished – "1" or "0" – show finished (1) or upcoming (0) matches. Empty to show all. The default value is " ".
  • filter_by_team – comma-separated list of team IDs to filter
  • filter_by_game_day – comma-separated list of game days to filter
  • days_offset – dynamic days filter. For example: "-2" from 2 days ago and newer; "2" from the day after tomorrow and newer
  • limit – limit number of games. 0 for all. Default: 0
  • sort_by_date – available options: "asc" or "desc". Show oldest or latest matches. Default: "".
  • sort_by_game_day – "asc" or "desc". Set priority sorting by game day. "sort_by_date" will be ignored. Default: " "
  • group_by – Available options: "day", "month", "game_day", "stage".
  • show_team_logo – "0" or "1". Default: "1"
  • show_game_datetime – "0" or "1". Default: "1"
  • tournament_logo – "0" or "1". Show (1) or hide (0) tournament logo. Default: "1"
  • class – wrapper class. Default: "mt-4"

Is this article helpful for you?