Directory / plugin

Rotascore Live Scores Widget

v1.4.1 · by rotascore

Add free live football scores, league standings, fixtures and team matches to your site. Pick leagues and teams by name. No account, no API key.

About this plugin

Rotascore Live Scores Widget adds free football widgets from Rotascore to any post, page or widget area: live scores, league standings, fixtures, results and the matches of a team.

  • League standings: the full table of a league, updated automatically.
  • Fixtures and live scores: the day’s matches and results of up to 10 leagues in one widget, with live scores. Show today, yesterday or tomorrow, and visitors can switch days.
  • Team matches: the next and the recent matches of a team, with your team highlighted.
  • Top scorers: the goals, assists and cards table of a league for the season.
  • Single match: one match with its score, minute and events as they happen.
  • Group tables: a league with several groups, such as a cup group stage, shows its groups as tabs in the standings widget.
  • Pick leagues and teams by name: search by name and see the logos. No ids to copy.
  • Live preview: the block shows the real widget in the editor, so you see what visitors see.
  • Adapts to your site: it follows your page’s light or dark look, text size, accent color and width, and resizes itself to its content. Light and dark can also be chosen by hand.
  • Block, shortcode, widget: a Gutenberg block (with “Standings”, “Top Scorers”, “Live Scores”, “Match” and “Team Matches” variants), a shortcode generator under Settings, and a classic widget for widget areas.
  • Options: language, theme, width, number of rows, team logos on or off, live matches only, visitor controls on or off.
  • Responsive, lazy-loaded, no layout jump.
  • Free. No account, no API key, no ads added by the plugin, no tracking by the plugin.

Shortcode

The easiest way is Settings > Rotascore Widgets: choose a league or team by name, check the preview and copy the shortcode. You can also write it by hand:

[rotascore type="standings" id="LEAGUE_ID" lang="en"]

[rotascore type="matches" leagues="LEAGUE_ID_1,LEAGUE_ID_2" day="tomorrow"]

[rotascore type="team" id="TEAM_ID" rows="5"]

[rotascore type="scorers" id="LEAGUE_ID" rows="10"]

[rotascore type="match" id="MATCH_ID_OR_LINK"]
  • type: standings, scorers, matches, match or team.
  • id: the league (standings, scorers), team (team) or match (match) id (letters, digits, _ and -). For match you can also paste the Rotascore match link.
  • group: for standings of a league with groups, the id of the group tab to open first (the first group by default).
  • leagues: for matches, up to 10 league ids separated by commas (id still works for one league).
  • day: for matches, today (default), yesterday or tomorrow. See the FAQ about caching.
  • theme: auto (default, follows your site), light or dark.
  • lang: a Rotascore language code, for example en, tr, de, es, pt-PT, zh-Hant.
  • width: optional maximum width in pixels such as 480, or full; by default the widget fills its container.
  • rows: number of standings rows, scorers or team matches per side (default: all; 10 for scorers).
  • highlight: a team id to draw in bold.
  • logos: 0 hides team logos.
  • live: for matches, 1 shows only the matches being played right now (no day buttons; day and date are ignored).
  • controls: 0 hides the language, league and theme menu inside the widget (default 1).
  • height: height reserved before the widget loads, in pixels; the widget then resizes itself to its content.
  • tz: optional IANA time zone such as Europe/Istanbul (the visitor’s own time zone by default).
  • date: optional YYYY-MM-DD date for the fixtures widget; it wins over day.

Block

Search for “Rotascore” in the block inserter. The sidebar has every option, with searchable league and team pickers, and the block previews the live widget.

External services

This plugin embeds content from rotascore.com, a third-party service run by the plugin’s authors.

1. The widget (visitors). Each widget is an iframe loaded from https://www.rotascore.com/{language}/embed/.... A small script bundled inside this plugin (assets/loader.js; no remote JavaScript is loaded) creates the iframe and reads your page’s colors and text size so the widget matches it. It sets no cookies. When a visitor’s browser loads a page containing a widget, it connects to rotascore.com and sends the usual request data (such as IP address and user agent) to that service. The widget shows a “Rotascore” link inside the frame; the plugin does not remove or hide it.

2. The league and team search (logged-in editors only). When a logged-in user who can edit posts searches for a league or team in the block sidebar or on Settings > Rotascore Widgets, that editor’s browser (not your server) sends the typed search text and the chosen language code to https://www.rotascore.com/api/embed/search (league and team search, and the popular leagues listed before you type) to list leagues and teams. No cookies are sent and nothing is stored; answers are only kept in memory while the page is open.

3. The live preview (editors only). The preview in the editor and on the settings page is the same iframe from https://www.rotascore.com/{language}/embed/... that visitors see, loaded in the editor’s browser.

Visitors never trigger the search requests, and the plugin stores no personal data. The widgets themselves are loaded from rotascore.com by the visitors’ browsers.

  • Rotascore Terms of Service: https://www.rotascore.com/en/terms
  • Rotascore Privacy Policy: https://www.rotascore.com/en/privacy

Plugin tags