Custom Players Statistics - Shortcode

Premium Version Only - since v0.10.0

[sl-stats-players-custom columns="" season_id="" league_id="" team_id="" tournament_id="" stage_id="" position="" group_id="" round_id="" venue_id="" sort_column="" limit="10" team_column="name" header="" data_table="0" data_table_page_length="10" data_table_searching="1" data_table_page_menu="1" data_table_info="0"]

  • columns – (required) - comma-separated list. You can use default columns and statistics or custom simple stats (by its id). Recommended using Shortcode Builder to see available columns.
    Default columns: ranking, player_name, team, position, played_games, + countable statistics IDs

Shortcode Arguments - Filter

  • tournament_id – (optional) - Tournament ID.
  • stage_id – (optional) - Tournament Stage ID.
  • season_id – (optional) -
  • league_id – (optional) - 
  • team_id – (optional) -
  • position – (optional) - filter by player's position
  • group_id - (optional)
  • round_id - (optional)
  • venue_id - (optional)

Shortcode Arguments - Display

  • data_table – (optional) - 1/0 - yes/no - interactive data table with pagination, sorting and.
  • team_column  – (optional) - "name" or "abbr" 
  • limit – (optional) - 10 - number of player to display

Shortcode Arguments - Text

  • header – (optional) - header text

Shortcode Arguments - Data Table

  • data_table – (optional) - 1/0 - yes/no - interactive data table with pagination, sorting and searching.
  • data_table_page_length - 10 - number of players per page
  • data_table_searching – (optional) - 1/0 - yes/no - show search
  • data_table_page_menu – (optional) - 1/0 - yes/no - allow to change players per page number
  • data_table_info – (optional) - 1/0 - yes/no - show pagination info

Is this article helpful for you?