Sportstats Head-to-Head Football Comparison
Sportstats Head-to-Head Football Comparison lets your visitors pick any two teams from a supported league and instantly see a side-by-side head-to-head comparison built from historical match data: win/draw/loss form, goals scored and conceded, shots and shots on target, corners, cards, and a range o
Sportstats Head-to-Head Football Comparison lets your visitors pick any two teams from a supported league and instantly see a side-by-side head-to-head comparison built from historical match data: win/draw/loss form, goals scored and conceded, shots and shots on target, corners, cards, and a range of over/under trend breakdowns.
Features
- Side-by-side team comparison via a shortcode or a Gutenberg block
- Historical match data automatically fetched and kept up to date from football-data.co.uk
- 11 countries and their top leagues supported out of the box
- Form guide (last 5 results), league position, and performance against top-8/bottom-12 opposition
- Light, mobile-friendly widget with no page-builder lock-in
- Optional team and league crest images that you upload yourself (none are bundled – see the FAQ)
PRO adds custom brand colors, choosing which stats appear and where, and per-block-instance configuration when using the Gutenberg block – so different pages on the same site can show different stat selections.
Data source
Match data is fetched from football-data.co.uk. This plugin only reads and displays publicly available historical results and statistics – it does not offer betting services of any kind.
Source code
The frontend widget ( assets/dist/js/*.js , assets/dist/css/*.css ) is a compiled/minified Vue 2 application. Its full, human-readable source (everything except node_modules and the compiled assets/dist/ output) is available as a zip:
https://sportstatswp.com/wp-content/uploads/2026/10/sportstats-head-to-head-football-comparison-FULLSOURCE-1.2.0.zip
To rebuild it yourself: unzip, cd assets , then npm install followed by npm run build (Vue CLI / webpack), which regenerates the contents of assets/dist/ .
External services
This plugin connects to football-data.co.uk to fetch the historical football match data (results, goals, shots, corners, cards, etc.) it displays. This is the plugin’s core data source – it’s needed for the plugin’s calculations to work at all, and there is no local alternative.