Football (Soccer) Sport Features
The plugin's main feature beyond terminology is its handling of own goals — a soccer-specific scoring convention where a goal scored by a player into their own team's net counts for the opposition.
Own Goals performance type
On activation the plugin creates an Own Goals performance post in the SportsPress performance taxonomy. This is a normal SportsPress performance type, but with three behaviours customised:
Behaviour | How it's implemented |
Hidden from the standard box score |
|
Hidden from match stats charts |
|
Appended to player goal totals on team performance |
|
Effectively, recording an own goal:
Counts toward the opposing team's score in the box score
Does not appear as a separate row alongside Goals, Yellow Cards, etc. in the box score (visually it is rolled into the scoring summary)
Still appears in the player's individual statistics so the act of scoring an own goal can be tracked over a season
Recording an own goal
Edit the match.
In the player performance table, find the player who scored the own goal (a member of the team that conceded).
Enter
1in the Own Goals column.Save.
The opposing team's goal total automatically increases by 1.
OG label
The plugin adds "OG" to the SportsPress text options table via sportspress_text. This is the abbreviation used in the player performance table header. To localise or change the label, go to SportsPress → Settings → Text and edit the "OG" entry.
What the plugin does NOT add
No widgets, shortcodes, or template sections
No settings page
No partial-statistic conversion
No live scoring support — match performance is entered post-match through the standard SportsPress flow
