Matches (shortcode)

[anwpfl-matches competition_id="" show_secondary="0" season_id="" type="" limit="0" date_from="" date_to="" stadium_id="" filter_by_clubs="" filter_by_matchweeks="" days_offset="" sort_by_date="" sort_by_matchweek="" group_by="" group_by_header_style="" show_club_logos="1" show_match_datetime="1" competition_logo="1"]

Shortcode Attributes

  • competition_id – (optional) Competition ID

  • show_secondary - (optional) "0" (no) or "1" (yes). Include matches from secondary stages. Applied for multistage main stage competitions only.
  • season_id - (optional) filter by Season term ID
  • type - (optional) filter by match type. "" (empty - for all), "result" - for finished, "fixture" - for upcoming.
  • limit - (optional) matches limit. 0 - for all. Default: 0
  • date_from - (optional) show matches with kickoff time from. Format: YYYY-MM-DD. E.g.: 2019-04-21
  • date_to - (optional) show matches with kickoff time before date (included). Format: YYYY-MM-DD. E.g.: 2019-04-21
  • stadium_id - (optional) filter by stadium
  • filter_by_clubs – (optional) comma-separated list of club IDs to filter
  • filter_by_matchweeks – (optional) comma-separated list of matchweeks or round IDs to filter
  • days_offset – dynamic days filter. For example: "-2" from 2 days ago and newer; "2" from the day after tomorrow and newer
  • sort_by_date - (optional) - "" (empty for none), "asc" - for oldest, "desc" - for latest
  • sort_by_matchweek - (optional) -  "" (empty for none), "asc" - for ascending, "desc" - for descending
  • group_by - (optional) - "" (empty for none), "day", "month", "matchweek", "stage". Stage works only if show_secondary is set to 1.
  • group_by_header_style - "" (empty for default) or "secondary"
  • show_club_logos - "0" or "1". Show (1) or hide (0). Default: "1"
  • show_match_datetime - "0" or "1". Show (1) or hide (0). Default: "1"
  • competition_logo - "0" or "1". Show (1) or hide (0). Default: "1"
  • filter_by (deprecated) "club" or "matchweek"
  • filter_values(deprecated) Comma-separated list of options. Club IDs or Round numbers.