Club Stats

Premium Version Only (since v0.12.4)

[anwpfl-stats-club club_id="" competition_id="" multistage="0" season_id="" league_id="" date_before="" date_after="" per_game="1" stats="" header=""]

  • club_id – (required) - Club ID

Shortcode Arguments - Filter

  • competition_id – (optional) - Competition ID.
  • multistage – (optional) - 0/1 (no/yes). Set this argument to "1" if you want to include all stages of multistage competition. Works only when "competition_id" is Multistage Competition (Main Stage)
  • season_id – (optional) - Season ID.
  • league_id – (optional) - League ID.
  • date_before - (optional) - format YYYY-MM-DD - Get stats till this date
  • date_after - (optional) - format YYYY-MM-DD - Get stats from this date

Shortcode Arguments - Display

  • per_game – (optional) - 1/0 (yes or no) - show per game statistics
  • stats – (optional) - comma-separated list of stats. Available options: 'corners', 'fouls', 'offsides', 'shots', 'shots_on_goal','cards_y','cards_r','goals','goals_conceded','clean_sheets'

Shortcode Arguments - Text

  • header – (optional) - header text

Text Strings

You can override text strings in "Settings & Tools" >> "Text Options"

Hi,


Why you didn't add date after? it's useful to prepare a chart for a team in a period of time.

Please add "date from" and "date to"

Hi,

Yes, you are right. It makes sense. 

Added "date_after" argument.

Thanks!