Entering Results
Results are entered from within the event editor. The Results meta box displays a table with one row per team and one column per configured result variable (e.g., Goals, 1st Half, 2nd Half — depending on your sport setup). There is also an Outcome column for each team.
The Results Table
Each row in the Results table corresponds to one of the teams assigned to the event. The columns are driven by the sp_result post type — whatever result variables you have configured will appear as column headers.
Team column — Displays the team name (read-only).
Result columns — One text input per result variable. Enter the numeric score for each team. Fields for result variables that have an equation configured show a placeholder of
(Auto)— these will be calculated automatically if left blank.Outcome column — A multi-select dropdown showing all configured outcomes (from the
sp_outcomepost type). The placeholder shows(Auto)because outcomes are calculated automatically when you save (see below). You can override the auto-calculated value by making a manual selection.
If the sportspresseventresult_columns setting is set to manual, checkboxes appear in the column headers so you can control which result columns are shown on the frontend.
Saving Results
Click Update on the event to save. SportsPress:
Applies any equation-based result variables (e.g., totaling goals from player performance data if the result has an equation configured).
Compares the primary result values across all teams.
Automatically assigns outcomes based on the comparison:
If all primary result values are equal, outcomes with condition
=(draw) are assigned to all teams.If values differ, the team with the highest primary result receives outcomes with condition
>(win), the team with the lowest receives outcomes with condition<(loss). All other teams receive outcomes with conditionelse.If an outcome has already been manually set for a team (i.e., it already exists in the stored data), the auto-assignment is skipped for that team.
Inline Result Editing
On the Events list screen, users with the edit_others_sp_events capability can update the primary result score directly without opening the full event editor. Click Edit Results under a team's score in the Teams column, update the value in the text input, and click Update.
Event Status
The event's status in the Publish box shows the current state. A separate Time field in the publish box allows setting a custom event status (On time, TBD, Postponed, Canceled) via the sp_status post meta key. This does not affect whether results can be entered — it controls how the event time is displayed on the frontend.
Once any result data has been saved, SP_Event::status() returns 'results' for the event (overriding the post status), which controls how the event displays on the frontend.
