Football Plugin for WordPress: Live Scores, Tables and Top Scorers
Add a full football section to your site with one shortcode: live scores, match details, league tables and top scorers. Download it for free and connect it with a free SportAPI key.
Download the plugin · Get a free API key
Version 1.0.0, ZIP file. Needs PHP 7.4 or later. Tested on WordPress 7.1 and PHP 8.3.

What the plugin adds to your site
One widget covers the whole section. Visitors move between days, leagues and matches without leaving the page.
- Live scores. Every match of the day grouped by league, with a Live filter and buttons for the previous and next day.
- Match details. Goals and cards, and after the final whistle team stats and line-ups.
- League tables. Current standings for each competition, including cups with groups.
- Top scorers. The goal scorers of each competition, with penalties shown separately.


How to install it
1. Download the ZIP file. Do not unpack it.
2. In WordPress open Plugins, Add New Plugin, Upload Plugin, choose the file, then click Install Now and Activate.
3. Get a free API key, paste it under Settings, SportAPI Football and save.
4. Add the shortcode below to any page or post.
[sportapi_football]No upload option on your hosting? Unpack the ZIP into wp-content/plugins by FTP and activate the plugin on the Plugins screen.
Settings
Everything is set on one screen under Settings, SportAPI Football. No code is needed.
| Setting | What it does |
|---|---|
| API key | Your SportAPI key. It stays on your server and never reaches the visitor's browser. |
| Primary, secondary and tertiary color | Accent, background and text of the widget. |
| Widget language | Same as your site, or one of the 10 languages listed below. |
| Widget width | In percent or pixels, for example 100% or 900px. |
| Preferred leagues | Shown first in the menu and at the top of the match list. |
| Live score refresh | Every 1, 2, 5 or 10 minutes. Every 5 minutes is the setting for the free plan. |
| Daily request limit | 200 by default, which fits the free plan. At the limit the widget keeps showing saved data until the next day. |
| Credit link | Shows "Football data by SportAPI" under the widget. On by default. |

Labels in 10 languages
Widget labels, match statuses and dates are available in English, Spanish, Portuguese, French, Turkish, Italian, German, Polish, Arabic and Chinese. By default the widget follows the language of your WordPress site, and the Arabic version reads from right to left. League, team and player names stay as they come from the API.
How it uses your API requests
The plugin asks the API from your server and saves each answer in WordPress. Visitors read the saved copy, so the number of requests does not grow with your traffic.
| Data | Asked again |
|---|---|
| Matches of the day during live games | At your live score refresh setting |
| Matches of the day with no game on | Every 15 minutes |
| Finished match | Once a day |
| League table | Every hour |
| Top scorers | Every 6 hours |
If the API cannot answer, the widget shows the last saved copy.
If your site uses a cache plugin
The scores are loaded separately from the page, so a cached page still shows fresh results. If your cache plugin also caches the REST API, exclude this path from it:
/wp-json/sportapi-football/v1/dataWhat this version does not do
- It has one shortcode for the full section. There is no separate block for a single table or a single club yet.
- It is not in the WordPress.org directory. To update it, upload the new ZIP and choose to replace the current version.
- Line-ups and team stats appear after the final whistle, not during the match.
Questions
Is the plugin free?
Yes. The download needs no account. To show data the plugin needs a SportAPI key, and the default settings are sized for the free plan.
How is it different from the free widgets?
The free widgets need no key and show one block each: a table, matches, team fixtures or top scorers. The plugin needs a key and gives you the whole section in one widget, with match pages and league navigation.
Is my API key visible to visitors?
No. The key is kept in WordPress on your server. Visitors' browsers only talk to your own site.
Will it slow down my site?
The script loads only on pages with the shortcode, in the footer, and the widget draws itself after the page is ready.
What happens when the daily limit is reached?
The plugin stops asking the API until the next day and the widget keeps showing the data it already saved.
Can I change the design beyond the colors?
Yes. All styles are in assets/widget.css inside the plugin. The widget is isolated from your theme, so edit that file, and repeat the edit after you update the plugin.
Need something the plugin does not show?
The plugin uses the same football API you can call from your own code. See the documentation or try the free widgets.