Ranking Charts
A ranking chart is not a separate format or post type in SportsPress. It is a player list configured to sort by a statistic column in descending order, so players appear ranked from highest to lowest by that metric.
What Makes a List a "Ranking Chart"
There is no special format option or toggle labelled "Ranking Chart." The visual result is achieved entirely through the Details configuration:
Sort by — select the statistic column to rank by (e.g., Goals, Assists)
Sort Order — set to Descending so the highest value appears first
Players — set to Auto so all players matching the filters are included
Skip if zero? — optionally check this to exclude players with zero in the sort column
When sorted by a statistic rather than Squad Number, the first column of the table automatically changes its header to Rank and shows sequential rank numbers (1, 2, 3, ...) instead of squad numbers.
Example: Top Goal Scorers
Navigate to Players > Player Lists > Add New.
Name it "Top Goal Scorers".
In the Columns meta box, check Goals.
In the Details meta box:
Set Competition and Season as needed.
Set Sort by to Goals.
Set Sort Order to Descending.
Set Players to Auto.
Check Skip if zero? to hide players with no goals.
Click Publish.
The resulting list shows all players ranked by goals, with a Rank column replacing the squad number column.
Limiting the Displayed Rows
To show only the top 10 players, enter 10 in the Display field in the Details meta box (Auto mode only), or use the number parameter in the shortcode:
[player_list id="99" number="10"]
Display on a Page
Embed the ranking chart in any post or page using the player list shortcode. Use the show_all_players_link="1" parameter to add a link to the full list when only a subset is shown.
No Bar Chart Visualization
The existing documentation refers to ranking charts as a visualization, but there is no bar chart or graphical chart rendering in the SportsPress or SportsPress Pro codebase. The output is always a standard HTML table sorted by the chosen statistic. The term "ranking chart" describes the sorted table presentation, not a chart graphic.
