Event Performance
The [event_performance] shortcode displays the box score (player performance) table for an event — one table per team showing each player's recorded stats for that match.
What It Displays
One or more performance tables, one per team, with player names and per-column performance values (e.g. goals, assists, minutes). Optionally shows player numbers, positions, minutes played, and totals rows. When offense/defense sections are configured, separate tables are rendered for each section.
Display of players, staff, totals rows, player numbers, and positions, as well as the performance mode (values vs icons), all follow the SportsPress settings under Events > Performance.
When to Use It
Use on a single event page inside the Loop. Outside the Loop, supply id. The event must be published with performance data entered.
Parameters
Parameter | Type | Default | Description |
| integer |
| Post ID of the event. Required outside the Loop. |
Note: All display options (show players, show staff, show totals, show numbers, show positions, section order, link players, scrollable, sortable, performance mode) are governed by global SportsPress settings, not by shortcode parameters. Only id is accepted.
Usage Examples
Inside the Loop on a single event page:
[event_performance]
Embedding a specific event's box score on any page:
[event_performance id="188"]
