Skip to main content
A compact leaderboard of one metric – e.g. the top 5 scorers.
What it shows
One statistic as a short ranked list, ideal for sidebars. Choose the statistic with stat_metrics (goals by default).
[SCREENSHOT: A page on your website with the first example below]
Show: What [ibpf-players-stats-single] shows on the page.
Highlight: Nothing.
Parameters
| Parameter | Default | Description |
|---|---|---|
league_id |
0 |
Filter by league ID. 0 = all leagues. |
season_id |
0 |
Season ID. 0 = current active season. |
tournament_id |
0 |
Tournament (post) ID to read data from. |
stage_id |
0 |
Limit to a single stage. 0 = all stages. |
stat_metrics |
goals |
The single metric to rank by. |
show_extra |
1 |
Show the supporting extra column (1 or 0). |
sort |
desc |
Sort direction: desc or asc. |
show_header |
1 |
Show the widget header/hero band (1 or 0). |
title |
– | Custom heading text. Empty uses the default title. |
player_img |
team_logo |
Player marker: photo, team_logo, ctry or none. |
player_link |
1 |
Link player names (1 or 0). |
show_team |
1 |
Show the team column (1 or 0). |
show_nationality |
1 |
Show the nationality column (1 or 0). |
show_position |
0 |
Show the position column (1 or 0). |
highlight_top |
1 |
Highlight the top-ranked row (1 or 0). |
limit |
10 |
Maximum rows. |
Examples
Top 5 scorers
[ibpf-players-stats-single tournament_id="123" stat_metrics="goals" limit="5"]
Top 5 assists
[ibpf-players-stats-single tournament_id="123" stat_metrics="assists" limit="5"]