1.0.26
What's New
Tabbed Standings (Division / Overall)
The [pp-standings] shortcode now supports a Division tab alongside the existing Overall tab when intradivisional data is available.
New attribute:
show_tabs—true(default) orfalse. Set tofalseto suppress the tab bar and always show a single standings table.
How it works (ACHA):
- Overall tab shows all games played (unchanged behavior).
- Division tab shows only intradivisional games — computed from game-level schedule data. GP, W, L, OTL, Pts, GF, GA all reflect only games played against teams within the same division.
- If no intradivisional game data is available (e.g. network error, off-season), the tab bar is hidden and the single Overall table renders as before.
USPHL teams are unaffected — they continue to display a single standings table with no tabs.
Database Migration
A division_standings_data column is added to wp_pp_team_standings_cache automatically on plugin load (migration 8.0). Trigger a standings refresh from the admin panel after updating to populate Division tab data.