Shortcode reference

Skip to main content
Print

Prefer the block editor? Everything below is also available as a block, open the inserter and search “PinPortal” to find League List, Standings, High Scores, Top Bowlers, Bowler Profile Card, and the rest, each with league/week/season controls in the sidebar and a live preview. Blocks and shortcodes render identically; use whichever fits your workflow.

The shortcodes: all accept league (name or slug) and most accept week (a number, or latest) and season.

The shortcodes

  • [bowling_league_list]: table of all public leagues with format badges and current week. Optional detail_page to override where league names link.
  • [bowling_league league="monday-madness"]: full league summary (standings + scores + more) for one league. Without a league attribute it reads ?league= from the URL.
  • [bowling_standings league="..." week="latest"], team standings. Division leagues render automatically grouped with a subheader per division.
  • [bowling_weekly_scores league="..." week="latest"], team game-by-game scores for a week.
  • [bowling_high_scores league="..." scope="week"], high games/series boards. scope accepts week, season, split1, or split2.
  • [bowling_rosters league="..."], team rosters with averages and handicaps.
  • [bowling_lane_assignments league="..."], upcoming lane assignments.
  • [bowling_top_bowlers limit="10"]: top bowlers ranked by average (or orderby="scratch_series"/"scratch_game"), optionally filtered by league and season (limit 1–100). Cross-league boards exclude no-tap leagues by default (include_no_tap="1" overrides) and show scratch columns only; league-scoped boards add handicap columns.
  • [bowling_milestones game_min="250" series_min="650" limit="10"], season honor roll of big games and series, with a PERFECT badge on 300 games. Thresholds are attributes; optionally filtered by league and season. Cross-league boards exclude no-tap leagues.
  • [bowling_over_average limit="10"]: “Beat Your Average”: best single-night series over the bowler’s own entering average. Every bowler is eligible regardless of skill, computed from week-over-week roster data. Optional league and season.
  • [bowling_explorer]: drill-down browser: league → season → team → bowler, with each bowler’s season average, games, pins, handicap and best game/series. Bowlers with a profile can expand their trading card inline without leaving the page. Optional league to scope it to one league, open="all" to start expanded. Levels load on demand.
  • [bowling_qr league="" url="" size="180" caption=""], QR code for posters and flyers, linking to a league page (or any URL). Generated on your site by a bundled library, no external service.
  • [bowling_registration league="" show="all"]: which leagues are taking signups, grouped into open now, opening soon, and closed, each with a Register button (Pro). show takes all, open, upcoming or closed. Leave league empty for the whole center. A full league keeps its button and gains a waiting-list badge.
  • [bowling_bowler slug="pat-smith"]: a bowler’s trading-card profile (Pro). Normally you don’t need this: every eligible bowler already gets a page at /bowlers/{name}/.

Examples

[bowling_high_scores league="tuesday-no-tap" scope="season"], season-high boards for one league.
[bowling_top_bowlers limit="25"], top 25 bowlers across all leagues.

Table of Contents