| 开发者 | modulout |
|---|---|
| 更新时间 | 2026年10月23日 15:44 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[sportstatsapi widget="table" competition="england--premier-league" team="arsenal" theme="dark" lang="de"]
Shortcode options: widget (table, scores, fixtures, ticker, next-match, calendar, match-centre, match-facts, preview, head-to-head, box-score, team-form, club-season, squad, injuries, race, top-players, player, tennis), competition (the competition key, as on sportstatsapi.com), team (a team's name slug, e.g. arsenal or manchester-city: highlights the team in the table and scores, filters fixtures, picks the team of next match, calendar and team form), theme (light, dark, auto), lang (en, de, es, it, fr), accent (#RRGGBB, paid), rows (table), size (table: compact, standard, full), view (fixtures: round, date), country (fixtures and next match: TV channels), round (scores), match (match widgets: a match code or page path), stat (top players: goals, assists, cards, rating), teams (season race: names, comma separated), player (player card, tennis), tournament (tennis), leagues (ticker: more competitions), style="one" and langs="true" (match facts), font="inherit" (your theme's font), radius (0–20, corners).
A free one: Connect creates it with your email address and brings the free key back (25,000 views a month; you agree that free widgets show a small "Data by SportStatsAPI" link). Without a key, widgets are not shown. A paid key opens every competition and widget.
Free, with the free key from Connect: league table, live scores, fixtures, results ticker, next match and team calendar, for the free competitions (25,000 views a month, up to 30,000 before they stop until the next month). Every other widget, every other competition, the accent colour and removing the credit link need a paid SportStatsAPI plan (https://sportstatsapi.com/pricing/). The plugin is the same in both cases: the service decides what a key shows.
Only to SportStatsAPI, the service that draws the widgets. See "External services" above for what is sent and when. The plugin sets no cookies and does no tracking.
The blocks have a search. For shortcodes, use the widget builder on https://sportstatsapi.com/widgets/builder/ : its embed code shows the competition key. A team is its name in lower case with hyphens (manchester-city).
The widget script loads once, asynchronously, only on pages with a widget, and widgets load their data when they scroll into view.