| 开发者 | sportstatswp |
|---|---|
| 更新时间 | 2026年9月16日 12:19 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/sportstats-cup-generator directory, or install the plugin package directly.[sswpfc_cup_v2 id="123"] (using your competition's ID, shown on its management page) to any page or post to show its live bracket/table and standings, [sswpfc_cup_v2_schedule id="123"] for its fixture schedule, or [sswpfc_cup_v2_venues] for the full list of registered venues - or insert the "Cup Generator" block and pick what to show from its settings panel.Yes. Five sports are built in with their own scoring and result shapes - football, volleyball, ice hockey, basketball and handball - and there is a no-code Custom Sport Builder for anything else (define its periods, how a result is entered, the scoring and the tiebreak order). At its simplest a competition is still just named participants and win/draw/loss results, so it also works fine for a generic knockout with no sport-specific rules at all.
Byes are assigned automatically using standard tournament seeding, so the strongest (or randomly drawn) entrants get first-round byes rather than the bracket breaking or needing manual fixing.
No - someone has to advance. If a match can end level (e.g. after normal time), settle it however your sport/event does (penalties, overtime, a replay) and enter the final outcome as the result. Group-stage matches within a group-plus-knockout tournament DO support a draw, same as a round-robin match would - it's only the knockout phase where a winner is required.
Yes - create one tournament per category and give each a category label, then register your fields once (they're shared across every tournament, not tied to one) and schedule each tournament separately against those same fields.
An administrator assigns a WordPress user the "Cup Official" role, then sets which field(s) and/or category (or categories) they're allowed to record results for. An official with nothing assigned yet can't record anything at all - scope has to be explicitly granted, it's never on by default.
load_plugin_textdomain() - not needed, translations are served automatically via translate.wordpress.org once a plugin is hosted there./wp-json/sswpfc-cup/v1/tournaments/...) are no longer public. They returned raw database rows without the field allowlist the current view uses, which could expose a tournament's creator and a participant's assigned user id to an anonymous request. They now require administrator access; the supported public surface is the v2 competition routes, which are already allowlisted.[sswpfc_cup_v2] / the block) now server-renders a league's standings table into the page HTML, so search engines and visitors with JavaScript disabled see the table instead of an empty box - important for a page people search for by name (" table"). The interactive view still loads on top for everyone else. Only round-robin leagues are pre-rendered; a knockout cup's bracket is unchanged. The pre-rendered table also carries proper table semantics (caption, row/column headers, expanded abbreviations) for screen-reader users.[sswpfc_cup ...] shortcodes still work unchanged, and no data is touched or migrated.[sswpfc_cup_v2 ...] shortcodes.[sswpfc_cup_v2 ...]).assets/package.json and the Vue/Babel build config alongside assets/src/, so the compiled bundle can be rebuilt straight from the plugin package with no separate download.[sswpfc_cup_v2_register]) - a logged-in team manager can now actually register a new team for an open competition. Self-registration existed as a REST endpoint before this but had no page anywhere to use it from.sportstats-cup-generator, was sswpfc-cup-generator), so a WordPress.org listing doesn't fall foul of the "no restricted term in the slug" rule.sswpfc_cup_pro_advanced_reporting) - a no-op unless a separate PRO plugin is installed and hooks it. Simple result reporting is unaffected and stays free.[sswpfc_cup_schedule] and [sswpfc_cup_venues] shortcodes, and a "What to show" option added to the Gutenberg block.