Football Pool
Add some game-day fun to your WordPress site!
Install in
This plugin adds a fantasy sports pool to your blog. Visitors of your website can predict outcomes of matches and earn extra points with bonus questions. Every player can view scores and charts of the other pool contenders.
The plugin installs some custom tables in the database and includes match information for the FIFA 2026 World Cup, but it can be easily updated with match info for other championships or sports. Note: deactivating the plugin may delete all plugin data from your database. To avoid this, make sure the “keep data on uninstall” option is enabled in the settings (it’s on by default since version 2.3.1).
I originally coded this pool in PHP as a standalone website for the UEFA 2000 championship and rewrote it several times for every European Championship and World Cup since. I kept adding features every year. In 2012, I turned it into a WordPress plugin and uploaded it to the plugin directory. I hope you enjoy it.
A special thank you to everyone who donated, helped translate, reported bugs, or contributed in any other way to improving the plugin!
Features
- Users can predict match outcomes.
- Automatic calculation of the pool ranking, or define a custom ranking for a group of matches.
- You can add bonus questions for extra fun (single answer and multiple choice).
- Add your own teams and match data for other competitions.
- Import or export game schedules.
- Automatically calculate championship standings.
- Flexible scoring options.
- Built-in pages and shortcodes to display the pool on your blog.
- Optional user leagues.
- Score charts showing player progress and comparisons (requires separate Highcharts API download).
- Widgets and shortcodes to display match and pool info.
- Extra info pages for venues and teams.
- Add custom functionality with filters and actions.
- WP-CLI support for ranking calculations (faster than admin-side calculations).
- WP-CLI support for importing match results from a CSV file.
Documentation
The plugin includes a detailed help file in the admin panel. For a step-by-step tutorial, check out the guide by Janek from WP Simple Hacks. He even made a video explaining how to set up the plugin.
Other Notes
- Requires WordPress 6.4+, PHP 8.3+, and jQuery 3.7+.
- For charts, download the Highcharts Charting Core package (see the installation instructions or the help page in the admin).
If you find bugs, please report them in the support forum. If you like the plugin, a rating on WordPress.org would be much appreciated!
Localizations
If you’d like to help translate the plugin into another language or keep existing translations up to date, head over to the plugin’s page on translate.wordpress.org.
Be sure to read the After your contribution guide to understand how translations get reviewed and approved.
A big shout-out to all the translation contributors and editors who’ve helped out so far — thank you!
For using custom translations, check the FAQ section. The plugin also includes a .pot file as a starting point for building your own translation files.
Shortcodes
The plugin provides the following shortcodes. For detailed usage instructions, see the Help page in the WordPress admin.
fp-predictionsfp-predictionformfp-matchesfp-match-scoresfp-question-scoresfp-next-matchesfp-last-matchesfp-user-scorefp-user-rankingfp-rankingfp-countdownfp-groupfp-linkfp-registerfp-scoring-optionsfp-fullpointsfp-totopointsfp-goalpointsfp-diffpointsfp-jokermultiplierfp-plugin-optionfp-league-infofp-chart-settings/fp-stats-settingsfp-user-listfp-money-in-the-potfp-last-calc-datefp-next-match-form
Incompatible Plugins & Themes
The following plugins have been reported as incompatible with Football Pool. If you’re the author and have a fix — or if you know a workaround — please get in touch.
If you encounter issues with another plugin not listed here, let me know, so I can investigate.
Most caching solutions should be tested carefully.
- DB Cache Reloaded Fix (v2.3)
- Cimy User Extra Fields (v2.6.1) when using the email confirmation feature
- Easy Timer (in Football Pool versions 2.3.8 and below)
- Theme Gadgetry (ThemeFuse framework)
- memcached
Some themes may also interfere with the plugin’s display. See this forum post for a potential fix.
Written by Joobi from the project's own listing. See the source page
2.14.2
- Added: Support for Highcharts color scheme (light, dark, auto). Requires Highcharts v13+. Defaults to light.
- Changed: Renamed new-layout class to flex-layout. Note: in a future version I will remove the new-layout references.
2.14.1
- Fixed: Bug in the “Check unsaved changes” option.
- Fixed: Bonus admin screen accidentally escaped the labels for the list view. Thanks, Bartosz for reporting the issue.
- Fixed: New card layout did not save the joker value correctly. Thanks, lentini84 for reporting the issue.
2.14.0
- Added: New default layout option for the matches table, bonus questions and groups tables for new installs. A modern HTML and CSS structure that can also be overwritten with your own custom CSS.
- Added: New exporter and importer for match schedules with images added to a ZIP file. CSV import is also still available.
- Added: Gutenberg block support for the plugin shortcodes.
- Added: WP CLI command for importing a match schedule.
- Changed: Refactor of the match table render functions and stylesheets.
- Changed: Refactor of the bonus questions render functions.
- Changed: Refactor of the group table render functions and stylesheets.
- Changed: Refactor of the shortcode class. Split into multiple files for easier maintenance and a more clear responsibility.
- Changed: Small additions to the help file and added horizontal scrolling to large tables on the help page for small screens.
- Changed: Save buttons are now hidden in Matches admin screen when there are no matches.
- Changed: Small changes in admin styling to match WP7 a bit better.
- Changed: Small changed in admin list views for better mobile support.
- Changed: Added some extra cache flushes for user info.
- Changed: Integration of tinymce dialog in the classic editor is updated. This integration might be removed at some point.
- Changed: Some translations were added, removed or updated.
- Changed: Review of all the __() calls in the code to scan for XSS vectors.
- Changed: File name and slug of Matches admin page.
- Changed: Styling of the teams and venues page changed to a grid layout by default, but this can be easily overridden.
- Fixed: Some charts in the statistics page did not show the correct category name on hover.
- Fixed: Ranking page passed the league ID as string instead of integer in certain scenarios. Thanks to lentini84 for reporting this.
- Fixed: Prediction sheet also saved a joker for match ID 0 in the database.
- Fixed: Enabled the minifier (again) in the SCSS compiler.
- Fixed: Some team names did not display properly in the admin team list. Thanks to Tony for reporting the issue.
- Removed: Unused datetimepicker library.
- Removed: Some unused utility functions.
- Removed: All PER_PAGE constants that could be defined in wp-config, e.g., FOOTBALLPOOL_ADMIN_MATCHES_PER_PAGE.
- Removed: Old name for [fp-match-scores] shortcode (name prior v2.10.0 was [fp-scores]). Please rename if your still using the old name.
- Removed: Plugin setting for favicon and corresponding images. Use the default options of WP or a plugin to change the favicon.
2.13.6
- Security: Authenticated (Subscriber+) Stored Cross-Site Scripting via shoutbox message in admin area.
2.13.5
- Security: Reflected Cross-Site Scripting vulnerability for authenticated users in shoutbox widget.
2.13.4
- Bug fix: Removed unexisting asset load in admin.
2.13.3
- Update: Added final 6 teams in CSV for the 2026 FIFA World Cup.
2.13.2
- Added: Added a matches CSV for the 2026 FIFA World Cup (please note that there are still some teams not known).
- Added: Option to disable adding new shoutbox messages via the widget (only add via admin area).
- Changed: Auto-set user answers option in bonus questions now ignores leading and trailing spaces in answers.
- Changed: Removed some “deprecated” warnings from the CSV import.
- Changed: Show user ID next to display name in the audit log.
- Changed: Some refactoring in the $pool->user_name() calls.
- Changed: Refactoring of global $pool instance. With backwards compatibility for extensions (at least, I hope so).
- Changed: Reordered the methods in the Football_Pool_Pool class (but it is still a mess).
- Changed: Small visual change to the cancel/close button of the calculation modal in the admin.
- Changed: Removed some redundant styling from the default stylesheet and made some small changes.
- Fixed: Fixed a bug in the format input for 2 shortcodes.
2.13.1
- Security: Fix for XSS vulnerability (admin interface only).
2.13.0
- Added: Added an option to edit matches in your local time zone (based on your WP setting).
- Added: Added support for a new meta header for the CSV to define a time zone offset for the times in the file. This makes it possible to import files in a different/local time and adjust accordingly.
- Changed: Changed the minimum required WP version to 5.3.
- Changed: Made changes to the countdown shortcode javascript function. If you are using this in your own code, make sure you change the initiation of the countdown by passing the arguments as an object.
- Changed: Made some changes in the date handling in some parts of the plugin.
- Changed: Fixed some display issues in the shortcode MCE dialog and added titles to the labels.
- Security: Made the XSS prevention in all shortcode functions more strict.
2.12.6
- Changed: Some refactoring of the Widget classes.
- Fixed: Activate function throws an “Uncaught TypeError” on activation when activating via WP CLI.
- Security: Fix for XSS vulnerability in some shortcode functions.
2.12.5
- Changed: Some updates to the help page.
- Security: Fix for XSS vulnerability (admin interface only).
2.12.4
- Fixed: Moved translation strings inside classes to prevent early loading of textdomain.
2.12.3
- Security: Fix for CSRF vulnerability.
2.12.2
- Fixed: some parts of the code did not cast the league to int when passing it to the get_pool_ranking_limited() function. Thanks to Colin for reporting.
2.12.1
- Fixed: Accidentally removed tags around title for the widgets. This has been restored. Thanks to @spaniole for reporting this.
2.12.0
- Added: Goal difference bonus now has a setting that defines on which scores the bonus applies (existing installs will keep using the old rules until you change the setting).
- Added: Match predictions view on the statistics page now has some extra CSS classes on the table row to show how the score was build up (e.g. toto score plus goal bonus).
- Added: Added a print stylesheet for the audit log to remove some clutter from the print of the page.
- Added: Extra option to enable or disable showing the admin answer for closed bonus questions on the prediction form.
- Added: Added option to send an email notification when a new shoutbox message was saved. Uses the default wp_mail() function.
- Changed: Changed the maximum amount of characters for the shoutbox messages to 65,535 (but default setting is still a max of 150 chars).
- Changed: When a shoutbox message save fails, it will show a message for the user and keep their text in the input field to try again.
- Changed: Also added the
todayCSS class to the matches view. - Changed: Some clean-up in the widget classes.
- Changed: Fixed some deprecation warnings (explode(): Passing null to parameter #2).
- Changed: Added some wp_doing_cron() checks.
- Changed: Some code reformatting.
- Fixed: In rare occasions the first chart for the statistics page was defined as a line chart, where it should have been a column chart. Thanks to @pekos for reporting the bug.
- Security: Removed a XSS vulnerability in the bonus questions admin.
- Security: Removed a XSS vulnerability from the teams page and matches page.
earlier versions
- Full changelog can be found here.
Follow this listing's changes (Atom feed)