The Configure Screen
The Configure screen is where you define the data model for your sport. It controls what values SportsPress tracks, what they mean, and how they are calculated. Every league table column, player statistic, event outcome, and performance stat you see on the front end originates here.
Navigate to it at SportsPress > Configure.
The Six Sections
The Configure screen contains six sections, displayed in sequence on a single page:
Event Outcomes — The possible results of an event from a team's perspective (for example: Win, Loss, Draw). Controls auto-detection logic.
Event Results — The scored values teams accumulate per event (for example: Goals, Points). One result is designated as the primary result that determines outcomes.
Player Performance — Per-event statistics entered for individual players (for example: Goals Scored, Yellow Cards). These populate the box score on event pages.
Table Columns — The calculated columns that appear in league tables (for example: Played, Won, Points). Built using the drag-and-drop equation builder.
Player Metrics — Static per-player data that is entered manually on each player's profile (for example: Height, Weight). Not calculated from events.
Player Statistics — Calculated statistics that aggregate player performance data across events (for example: Goals per Game, Minutes per Goal). Built using the drag-and-drop equation builder.
When to Configure Each Section
If you selected a sport preset during setup, SportsPress pre-populated all six sections with appropriate starting values. You only need to visit Configure when you want to change, add, or remove items.
If you selected "Custom" as your sport, or if the pre-loaded values do not match your sport's rules, you will need to set up each section manually before recording any events.
A general sequence to follow when setting up from scratch:
Define Event Results first — they are the raw scored values that everything else depends on.
Define Event Outcomes and assign conditions that reference your primary result.
Define Player Performance items that will be tracked in box scores.
Define Table Columns and build their equations from results, outcomes, and other columns.
Define Player Metrics for any static profile data.
Define Player Statistics and build their equations from performance data.
The Drag-and-Drop Interface
Table Columns and Player Statistics both use an equation builder. When you open an individual item to edit it, the Equation meta box shows a palette of clickable buttons grouped by category (Events, Results, Outcomes, Performance, Operators, Constants, and so on). Click any button to append it to the equation formula area. Click the × on a token in the formula to remove it.
The equation is stored as a space-separated string of variable tokens and operators, for example: $win + $draw. This string is evaluated each time the table or list is generated.
Items within each section are ordered by the WordPress menu order (the Order field in the edit screen's Attributes box). Drag rows in the list view to reorder them; the new order takes effect immediately on the front end.
How Changes Apply
Changes made in Configure apply going forward but also recalculate historical data. Because SportsPress calculates table column values and player statistics dynamically from stored event data rather than caching them in a separate table, updating an equation immediately changes what is displayed everywhere that equation is used — including past events.
Adding a new outcome, result, or performance item makes it available for data entry on all future events. It does not retroactively add a value to past events; those events will show zero or empty for the new item unless you edit them.
Deleting a configure item removes it from equations that referenced it. Any column or statistic whose equation referenced the deleted variable will evaluate to zero or an error. Review equations after any deletion.
