Stat Clubs (Single Stat Value)

Premium Version Only (since v0.16.6)

Image 9273



[anwpfl-stat-clubs stat="" calculation="sum" competition_id="" multistage="0" season_id="" league_id="" matchweeks="" stadium_id="" show_logo="1" show_games_played="0" digits="" show_full="0" team_title="" sort="desc" limit="5" date_from="" date_to="" days_offset="" days_offset_to="" max_width="" min_width="" custom_header="" custom_header_tag="div" links="0"]

  • stat – *(required) - statistic value. Is supported default stats (by slug: wins/draws/losses/goals/goals_conceded/cards_y/cards_r/clean_sheets/corners/possession/fouls/offsides/shots/shots_on_goal ) or custom simple stats (by its id)
  • calculation - sum/avg_game/max/min

Image 9272

Shortcode Arguments - Filter

  • competition_id – Competition ID.
  • multistage – 0/1 (no/yes). Set this argument to "1" if you want to include all stages of the multistage competition. Works only when "competition_id" is Multistage Competition (Main Stage)
  • season_id – Season ID
  • league_id – League ID
  • stadium_id - Stadium ID
  • matchweeks - Filter by Matchweeks or Round IDs
  • home_away - show all (empty), home (h) or away (a) only statistics
  • limit – limit the number of clubs to show. Default: 5
  • digits - Digits after decimal point. Only applied for average calculation (avg_game, avg_90)
  • sort - desc/asc - Sorting
  • 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
  • days_offset – dynamic days filter. For example: "-2" from 2 days ago and newer; "2" from the day after tomorrow and newer
  • days_offset_to – dynamic days filter to. For example: "1" till tomorrow and older (since v0.10.17)

Shortcode Arguments - Display

  • links - Show link to Player profile: 1/0 (yes/no)
  • show_logo - Show team logo: 1/0 (yes/no)
  • show_games_played - Show number of games played: 1/0 (yes/no)
  • show_full - Show full club list in modal: 1/0 (yes/no)
  • team_title - team title to show. Empty - to show default title, 'abbr' - Abbreviation
  • max_width - maximum block width in pixels
  • min_width - minimum block width in pixels
  • custom_header - text
  • custom_header_tag - div/h2/h3/h4/h5


It would be great to have the option (as in the league table) to show partial data. When I create a pre-match analyze for the matches, it is possible to focuse on the to teams playing.