Skip to main content

Basketball Sport Features

The Basketball plugin is purely a configuration layer on top of SportsPress. The features it adds are:

Basketball Sport Features

The Basketball plugin is purely a configuration layer on top of SportsPress. The features it adds are:
​

Default sport preset

On activation, the plugin filters sportspress_default_sport to return basketball. This means the SportsPress configuration screen (SportsPress → Configure) loads basketball-specific defaults: result types (Points), performance metrics (Points, Rebounds, Assists, Steals, Blocks, etc.), and equation builder presets tailored to box-score-style game scoring.
​

To change the active sport later, go to SportsPress → Configure and select a different preset from the Sport dropdown. The basketball plugin doesn't lock you in — it simply biases the initial defaults.
​

Admin asset enhancements

The plugin enqueues css/admin.css and js/admin.js only on sp_event and edit-sp_event admin screens. These tweak the event edit layout for basketball-specific box-score entry — for example, by adjusting column widths in the player performance table to fit basketball's larger statistic count.
​

The assets do not load on other admin pages, so they have no impact on overall admin performance.
​

What the plugin does NOT add

  • No settings page

  • No new meta boxes

  • No new template sections (basketball uses SportsPress's standard team / player / event templates)

  • No new widgets or shortcodes

  • No partial-statistic conversion (basketball doesn't need any)

If you need basketball-specific features beyond what's in the SportsPress core (e.g. live scoring, advanced shot-chart visualisation), you'll need a custom plugin or theme override.
​

Did this answer your question?