=== SportsPress - Sports Club & League Manager ===
Contributors: ThemeBoy, brianmiyaji, aylaview, savvasha, nabil_kadimi, rochesterj
Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters
Donate link: http://tboy.co/donate
Requires at least: 3.8
Tested up to: 6.1
Stable tag: 2.7.16
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

SportsPress is an extendable all-in-one sports data plugin that helps sports clubs set up and manage a league or club site quickly and easily.

== Description ==

= Create a Professional Sports Website =
Transform your WordPress blog into a fully configurable team, club, or league website. Features a suite of sports tools including fixtures, results, automated standings, players rankings, and individual profiles for clubs, players, and staff.

[youtube http://www.youtube.com/watch?v=KQyga_C5a6M]

= Industry Reviews =
> "*Best WordPress Sports plugins: With premade templates for different sports, SportsPress pretty much covers the range of what almost everyone needs. It’s highly reviewed, and does exactly what it says it will do.*" — [Elegant Themes](https://www.elegantthemes.com/blog/resources/5-best-wordpress-sports-plugins)
>
> "*Script of the Day: While the WordPress repository holds various team and sports-related plugins, few of them come close to what you can achieve with SportsPress.*" — [Softpedia](http://news.softpedia.com/news/Script-of-the-Day-SportsPress-409247.shtml)
>
> "*SportsPress is probably one of the most complete WordPress sports plugins out there. If you have a sports website and you’re looking to showcase your team, or even your entire league, then give this plugin a try.*" — [HostGator](https://www.hostgator.com/blog/best-wordpress-plugins-themes-sports-websites/)

= Features =
* Equation Builder
* Club Profiles with Player List
* Automated League Standings with Club Logos
* Events (Fixtures & Results) with Player Performance
* Events Calendar
* Player Profiles & Statistics
* Player Lists
* Staff Profiles
* Select Current Club and Previous Clubs
* Season Archives
* Venue Information & Maps
* Statistics & League Table Columns Configuration
* Sport Presets
* Switch Between Club vs Club and Player vs Player Mode.
* Import Events, Clubs, Players, and Staff from CSV Files
* Easy Shortcodes Menu in Editor
* Events Integrate with iCal
* Certified compatibility with [WPML](http://wpml.org/plugin/sportspress/)

More details about each feature are available on the [SportsPress Website](http://tboy.co/pro).

= Free Extensions =
* [SportsPress for Baseball](https://wordpress.org/plugins/sportspress-for-baseball/)
* [SportsPress for Basketball](https://wordpress.org/plugins/sportspress-for-basketball/)
* [SportsPress for Cricket](https://wordpress.org/plugins/sportspress-for-cricket/)
* [SportsPress for Football (Soccer)](https://wordpress.org/plugins/sportspress-for-soccer/)
* [SportsPress for Golf](https://wordpress.org/plugins/sportspress-for-golf/)
* [SportsPress for Volleyball](https://wordpress.org/plugins/sportspress-for-volleyball/)

= SportsPress Pro =

Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](http://tboy.co/pro) to get access to more advanced features for your team, club, or league website.

= Available Languages =
* English – English ( en_US )
* Arabic – العربية ( ar )
* Armenian – Հայերեն ( hy )
* Bulgarian – Български ( bg_BG )
* Chinese (China) – 中文 ( zh_CN )
* Croatian – Hrvatski ( hr )
* Czech – Čeština ( cs_CZ )
* Danish – Dansk ( da_DK )
* Dutch – Nederlands ( nl_NL )
* French – Français ( fr_FR )
* Finnish – Suomi ( fi )
* German – Deutsch ( de_DE )
* Greek – Ελληνικά ( el_GR )
* Hungarian – Magyar ( hu_HU )
* Italian – Italiano ( it_IT )
* Japanese – 日本語 ( ja )
* Korean – 한국어 ( ko_KR )
* Macedonian – македонски ( mk_MK )
* Norwegian Bokmål – Norsk bokmål ( nb_NO )
* Persian – فارسی ( fa_IR )
* Polish – Polski ( pl_PL )
* Portuguese (Brazil) – Português do Brasil ( pt_BR )
* Portuguese (Portugal) – Português ( pt_PT )
* Romanian – Română ( ro_RO )
* Russian – Русский ( ru_RU )
* Slovak – Slovenčina ( sk_SK )
* Slovenian – Slovenija ( sl_SI )
* Spanish – Español ( es_ES )
* Swedish – Svenska ( sv_SE )
* Tagalog - Tagalog ( tl )
* Tamil – தமிழ் ( ta_IN )
* Thai – ไทย ( th )
* Turkish – Türkçe ( tr_TR )

= Sport Presets Included =
* American Football
* Association Football (Soccer)
* Australian Rules Football
* Baseball
* Basketball
* Cricket
* Darts
* Golf
* Handball
* Ice Hockey
* Lacrosse
* Netball
* Rugby League
* Rugby Union
* Snooker
* Softball
* Squash
* Table Tennis
* Tennis
* Volleyball
* Water Polo

= Esports Presets =
* Counter-Strike: Global Offensive
* Dota 2
* League of Legends

= SportsPress Themes for Clubs =
* [Courtside](http://tboy.co/courtside)
* [Emblem](http://tboy.co/emblem)
* [Football Club](http://tboy.co/fc)
* [Marquee](http://tboy.co/marquee)
* [Premier](http://tboy.co/premier)
* [Rookie Plus](http://tboy.co/rp)
* [Varsity](http://tboy.co/varsity)

= Get Involved =

Feel free to share your suggestions with us so we can continue to develop awesome sports club features for you guys!

Developers can contribute via the [SportsPress GitHub Repository](https://github.com/ThemeBoy/SportsPress/blob/master/CONTRIBUTING.md).

Translators can contribute to SportsPress translations through [GlotPress](https://translate.wordpress.org/projects/wp-plugins/sportspress).

= Stay Current =
To keep up with the latest updates and new features, be sure to do the following:

* Visit the [SportsPress Pro homepage](http://tboy.co/pro).
* Subscribe to our [YouTube channel](http://tboy.co/youtube).
* Follow ThemeBoy on [Facebook](http://tboy.co/facebook) & [Twitter](http://tboy.co/twitter).

= Please Rate, Vote, and Enjoy! =
Your feedback is much appreciated and makes all the difference in improving SportsPress.

== Installation ==

= Minimum Requirements =
* WordPress 3.8 or greater
* PHP version 5.2.4 or greater
* MySQL version 5.0 or greater

[youtube http://www.youtube.com/watch?v=nE8-RlbotmU]

= Automatic Installation =

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't even need to leave your web browser. To do an automatic install of SportsPress, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type "SportsPress" and click Search Plugins. Once you've found our sports plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking Install Now. After clicking that link you will be asked if you're sure you want to install the plugin. Click yes and WordPress will automatically complete the installation.

= Manual Installation =

The manual installation method involves downloading our sports plugin and uploading it to your webserver via your favorite FTP application.

1. Download the plugin file to your computer and unzip it
2. Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation's wp-content/plugins/ directory.
3. Activate the plugin from the Plugins menu within the WordPress admin.

= Upgrading =

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

If on the off-chance you do encounter issues with the event/team/player/staff pages after an update you simply need to flush the permalinks by going to WordPress > Settings > Permalinks and hitting 'save'. That should return things to normal.

== Screenshots ==

1. Add a suite of widgets to your site to display your own sports data.
2. Generate automated standings that update whenever results are published.
3. Schedule matches and display details, results, box scores, and a map to the venue.
4. Register teams and players on your site and create lineups for each team.
5. Display player profiles with configurable details and career stats.
6. Select your sport to automatically install presets and sample data.
7. Each team has a unique logo and website URL. Optionally link teams from your blog to their official websites.
8. The overview page provides a birds-eye view of your entire sports network.
9. Configure variables used throughout the plugin to fit your sport. Presets are provided for some sports, and will automatically populate these options.
10. Design your own points system using the custom drag-and-drop equation builder.

== Frequently Asked Questions ==

= Which sports does this plugin support? =

The plugin will support most team sports with a scoring system. You can customize the table columns and player statistics via SportsPress settings. We've included presets for commonly requested sports, and you can also add your own.

= Will SportsPress work with my theme? =

Yes; SportsPress will work with any theme, but may require some styling to make it match nicely.

= Where can I report bugs or contribute to the project? =

Bugs can be reported either in our support forum or preferably on the [SportsPress GitHub repository](https://github.com/ThemeBoy/SportsPress/issues).

= Will SportsPress work with my sport? =

The plugin comes preinstalled with several different sports presets to help you get started quickly, but is also flexible enough to be customized to fit the need of any team or individual sport. Please [let us know](http://wordpress.org/support/plugin/sportspress) if you'd like to work with us to get your preset added the plugin.

= Can I import teams/players/staff/matches? =

Yes, CSV importers are included with the plugin. Go to Tools > Import and choose from one of the SportsPress CSV importers. Supports CSV files generated by [LeagueLobster](http://tboy.co/leaguelobster).

= What's the difference between the free and Pro plugin? =

SportsPress is a free plugin developed to give sports organizations the functionality needed to run a team, club, or league website. The plugin allows you to schedule your upcoming matches and enter the results after you've played a game. Your league tables, team and player statistics will automatically update once you've published the result to reflect the new standings.

Limitations? Don't worry, there are no limitations to the number of events, players, staff members, teams, clubs, or leagues you can add to the free plugin.

[SportsPress Pro](http://tboy.co/pro) is a premium plugin made for serious teams who are looking for additional sports functionality in their website. By upgrading to SportsPress Pro, you will be given instant access to a suite of sports modules that will appear in your dashboard.

The current modules that are available exclusively to SportsPress Pro are:

* Tournaments: Create and display tournaments in a bracket/knockout cup format.
* Timelines: Display a visual timeline of player performance in events.
* Scoreboard: Display multiple event results in a horizontal scoreboard.
* Sponsors: Add your sponsors on your website and track each of their clicks and impressions.
* Staff Directories: Show contact information of your key personnel so people know who to get in touch with.
* Team Access: Assign users to a specific team and limit their access to data related to that team.
* Team Colors: Make each team's profile page unique by displaying their team colors.
* League Menu: Display a global navigation bar at the top of your website for easy navigation from one team to the next.
* Twitter: Add a Twitter feed to team, player, and staff pages.
* Branding: Instantly rebrands your admin panel to reflect your organization's brand.
* Duplicator: Clone anything with just one click. Great for creating multiple events.

There are [3 different licenses](http://tboy.co/pro) that you can choose from: Club, League, and Agency.

When you upgrade to one of the SportsPress Pro licenses, you can simply activate the Pro version without losing any of your data. Please note that we recommend that you do a complete backup whenever you make big changes to your website.

== Changelog ==

= 2.7.16 =
* Update - WP version tested up to 6.1.
* Update - Leaflet version to 1.8.0.
* Tweak - Datepicker support for event blocks, list, and calendar widgets.
* Fix - Toggle between absolute and resltive dates in shortcodes.
* Fix - Undefined variables showdob and showage.
* Fix - Date range error in player lists.
* Fix - Loss condition not applied on event results.
* Fix - Can't set statistic variable for player positions.
* Fix - API error when using _fields.
* Fix - Event map and video not being displayed.
* Fix - Escape functions in admin.

= 2.7.15 =
* Feature - Sports news widget in dashboard.
* Fix - Fixture importer bug with extended characters in league and season name.
* Fix - Player list not loading (too many resources).
* Fix - Performance format not updating.
* Fix - Trim whitespace on geo coordinates to avoid import error.

= 2.7.14 =
* Fix - Error when non-value added as adjustment.
* Fix - Map links not escaped properly.
* Fix - Event blocks missing attributes.
* Fix - Player statistics meta escaping.

= 2.7.13 =
* Fix - Theme notice escaping.
* Fix - Timezone dropdown selection now shown in general settings.
* Fix - Double header when multiple player lists are displayed in team.
* Fix - Dropdown options not saving in settings.
* Fix - Setup page conflict with WooCommerce.

= 2.7.12 =
* Fix - OpenStreetMap not displaying map after update.

= 2.7.11 =
* Fix - Player status selector not reflecting changes in match edit screen.
* Fix - Player dropdown template not displaying names.
* Fix - Staff dropdown template not displaying names.

= 2.7.10 =
* Fix - Players not selectable in event edit page.
* Fix - Videos embedded in post content not rendering.

= 2.7.9 =
* Tweak - Add support for event format in REST API.
* Tweak - Add "Order" and "Order by" selection fields for countdown widget.
* Tweak - Add option to display event status in countdown widget.
* Tweak - Add ability to filter events by format in calendar template.
* Tweak - Update TGM plugin activation library.
* Fix - Remove plugin headers from modules for improved compatibility.
* Fix - Reverse order not applying to teams in event lists.
* Fix - Add validation to user inputs for improved security.
* Fix - Sanitize all user inputs for improved security.
* Fix - Escape all outputs in admin for improved security.
* Fix - Filtering based on format for event blocks.
* Fix - Last week and next week filter not applying to player lists.
* Fix - Deselecting a selected team in settings.
* Fix - PHP 8.0 deprecated warnings.
* Localization - Add nationalities and flags for French Guiana, French Polynesia, Guadeloupe, Greenland, Martinique, Reunion, and Sint Maarten.

= 2.7.8 =
* Fix - Event results, box scores, and players stats not updating via REST API.

= 2.7.7 =
* Fix - Events not appearing due to filter malfunction.

= 2.7.6 =
* Feature - Add ability to bulk set events as on time.
* Fix - Players in events not being filtered by team.

= 2.7.5 =
* Tweak - Add ability to filter events by team and match day in one query.
* Tweak - Improve performance by updating leaflet script and only loading when required.
* Tweak - Add overtime notation compatibility for minutes played.
* Fix - Issue with event edit page where the scripts were not working.
* Fix - No records when format is default in event list shortcode.

= 2.7.4 =
* Tweak - Add option to display birthday, age, or both in birthdays widget.
* Fix - Player list data showing zeroes in some cases.

= 2.7.3 =
* Compatibility - Tested for compatibility with WordPress 5.5 with changes made where necessary.
* Tweak - Avoid showing minutes box for subs when not needed.
* Tweak - Improve filtering speed for queries without leagues or seasons.
* Tweak - Apply reverse order setting in event lists.
* Tweak - Enable filtering a player's events played on a specific team.
* Fix - Include future events in REST API for WordPress 5.5.
* Fix - Enable updating player metrics using the REST API.
* Fix - Deprecated code for PHP 7.4.
* Fix - Elementor compatibility.
* Localization - Update country names for Czechia, North Macedonia, Myanmar, and Eswatini.
* Localization - Adjust RTL stylesheet for event performance icons.

= 2.7.2 =
* Tweak - Sanitize delimiter field in event settings.

= 2.7.1 =
* Feature - Enable player list filtering by nationality.
* Feature - Add option to display date of birth in player lists.
* Tweak - Exclude postponed and canceled events from countdowns.
* Tweak - Apply reverse order option to event results.
* Tweak - When a team has more than one home venue, separate with commas.
* Fix - Venue address containing pluses in events.
* Fix - Event blocks showing the wrong dates when embedded within other event pages.
* Fix - Statistics not adding manual values when not based on equations.
* Fix - Event lists ignoring the format parameter.
* Fix - League table order when displaying multiple tables in team profiles.
* Fix - Error when deleting configuration columns.
* Fix - Player lists not including past players in some cases.
* Fix - Prevent error when viewing event calendar in some cases.

= 2.7 =
* Feature - New bulk actions to postpone and cancel multiple events.
* Feature - Add date of birth to player importer.
* Feature - Automatically select the home team's venue as the default venue when importing fixtures.
* Feature - Add ability to turn on comment for team profiles.
* Feature - Filter league tables by event status.
* Tweak - When an icon is used for player performance, display the icon in player lists and profiles.
* Tweak - Add title attribute for player statistic icons.
* Tweak - Default stylesheet sorting icon width.
* Fix - Icon color picker rendering issue.
* Fix - Image selector not working for player statistics.
* Fix - Enqueue scripts and styles for OpenStreetMap when used in shortcodes.
* Localization - Add translation options for countdown units.

= 2.6.20 =
* Tweak - Improve compatibility with volleyball for checkbox performance.
* Preset - Update volleyball preset with additional options.

= 2.6.19 =
* Feature - Enable filtering calendars base on players.
* Feature - Add checkbox type to event performance.
* Fix - Javascript error when columns are hidden in event list.
* Fix - Notice when displaying staff in event performance table.
* Fix - Notice when event results are empty.
* Fix - Uncaught error in player class.
* Preset - Update volleyball preset using checkbox performance type.

= 2.6.18 =
* Fix - Prevent OpenStreetMap scripts from loading when Google Maps is active via SportsPress Pro.
* Fix - Headers already sent error related to default nationality module.

= 2.6.17 =
* Tweak - Only show welcome screen on major version upgrade.
* Tweak - Add filters to enable career totals calculation with extensions.
* Fix - Countdowns not reflecting timezone setting.

= 2.6.16 =
* Tweak - Add support for updated baseball extension with partial innings.
* Fix - Error displaying staff in events when offense and defense are separate tables.

= 2.6.15 =
* Important - Using Google Maps will require a SportsPress Pro license after August 31, 2019.
* Refactor - Fallback to OpenStreetMap for venue maps without SportsPress Pro.
* Feature - Option to display team logos instead of team names in player lists.
* Feature - Option to display custom specs in event blocks and event lists.
* Tweak - Improve page load speed when creating new league tables.
* Tweak - Prevent displaying events other than published or scheduled.
* Fix - Icons only appearing in the first table when player lists are grouped.
* Fix - Character encoding and CRLF errors in calendar feeds.
* Fix - Missing field location Schema error.
* Fix - Dropdowns collapsing in admin when meta boxes are hidden.
* Fix - Timezone handling in countdowns.
* Fix - Error when using special characters in admin settings.

= 2.6.14 =
* Fix - API endpoints for secondary post types.

= 2.6.13 =
* Fix - Missing functionality with Gutenberg enabled.
* Fix - Enable API endpoints with WordPress 5.0 and Gutenberg.

= 2.6.12 =
* Tweak - Match styling of date row in countdown.
* Fix - Calculated totals in player performance array missing for custom templates.
* Fix - Date field hidden from existing calendars.

= 2.6.11 =
* Tweak - Apply reverse teams setting to event blocks.
* Tweak - Add zero before days in countdown when there are less than 10 days to go.
* Fix - Venue address not setting correctly.
* Fix - RTL language support for first column in tables.
* Fix - PHP warnings for various static functions.
* Fix - Custom post types displaying blank screen in admin when Gutenberg is active.

= 2.6.10 =
* Tweak - Apply reverse teams settings to logos.
* Fix - Statistics doubling in player lists when player is assigned to a team.
* Fix - Display blank placeholder in player lists when no team is assigned.
* Preset - Update basketball efficiency rating equation.

= 2.6.9 =
* Feature - New event shortcodes: venue, officials, teams, and full event info.
* Feature - Option to choose default nationality for faster data entry.
* Feature - Date and time display options in countdown widgets.
* Feature - Ability to filter player list shortcodes by league, season, and team.
* Tweak - Improve page load for new player lists.
* Tweak - Improve iCal feed by fixing wrapping issues.
* Tweak - Use lighter placeholder color to differentiate from entered values.
* Tweak - Preserve league, season, and position assignments when importing players.
* Fix - PHP warnings when using version 7.2 or later.
* Fix - Countdown timer format when event is 100 or more days away.
* Fix - Player list displaying zero values when formatted using decimal places.
* Fix - Start of the week filters for week-based calendars.
* Fix - Location picker freezing issue.
* Fix - Custom post types pages displaying blank page when Gutenberg is installed.

= 2.6.8 =
* Feature - Ability to add icons to player statistics.
* Feature - Ability to display matchday in event blocks.
* Feature - Add support for commenting on scheduled events.
* Feature - Option to filter birthdays widget by week.
* Feature - Option to filter events by competitive or friendly.
* Tweak - Display pin in venue map and link map to web version.
* Tweak - Add UK as alternate to GB in countries legacy list.
* Tweak - Remove duplicate teams from players.
* Tweak - Improve player assignment filtering for player lists.
* Fix - Animated countdowns when visitor and site are in a different timezones.

= 2.6.7 =
* Fix - Update Google Maps API endpoints.

= 2.6.6 =
* Fix - Apply reverse teams to frontend templates only.

= 2.6.5 =
* Tweak - Increase coverage of reverse teams option.
* Tweak - Improve sorting of leagues, positions, and seasons.
* Localization - Additional legacy country code for Greece.
* Fix - Broken post author select on certain pages.
* Fix - Google Calendar link protocol.

= 2.6.4 =
* Fix - Undefined variable notice in player list.

= 2.6.3 =
* Fix - Assign past teams during player import.
* Fix - Next team column displaying events furthest away.
* Fix - Add fallback array_replace function for PHP versions earlier than 5.3.
* Fix - Add fallback for web hosts that don't support multibyte PHP functions, causing blank player profiles.

= 2.6.2 =
* Fix - Newly added players from past and current team appearing in player lists.
* Fix - Player lists appearing empty without league, season, and team selected.

= 2.6.1 =
* Fix - Player lists with a team selected showing players from other teams.
* Fix - REST API endpoints not resolving for players.
* Fix - Empty system status page.

= 2.6 =
* Feature - Add custom details to events using event specs.
* Feature - Conditional equations for variables.
* Feature - Display the next opponent in league tables.
* Feature - Short name option added to teams.
* Feature - Automatic event titles using short name when available.
* Feature - Display featured image in countdown widget.
* Tweak - Stronger connections between leagues, seasons, and teams for automatic player lists.
* Tweak - Relative date option added to editor shortcodes.
* Tweak - Display only current team in player list.
* Tweak - Filter players dropdown by current team only.
* Tweak - Allow 0 as a squad number when importing players.
* Tweak - Prevent filtering through empty results.
* Fix - Interpreting non-integer substitution times.
* Fix - Warning when sorting terms without order.
* Localization - Add WPML support to staff header.
* Localization - Fix RTL not being applied in league tables.

= 2.5.10 =
* Fix - Date ranges not being applied to calendars.

= 2.5.9 =
* Fix - Unpublished posts being displayed in some themes.

= 2.5.8 =
* Fix - Display scheduled events using default permalinks via archives and third-party widgets.

= 2.5.7 =
* Fix - Blank general settings screen on WordPress versions prior to 4.9.
* Fix - Revert responsive table behavior to prevent display issues on mobile.

= 2.5.6 =
* Tweak - Adjust player-related hooks.
* Fix - Turn off responsive tables by default.

= 2.5.5 =
* Feature - Main league and current season settings.
* Feature - New shortcode including full staff profile.
* Feature - Add code highlighting to custom CSS field.
* Feature - Add responsive layout option to tables.
* Feature - Add filters to REST API players endpoint.
* Feature - Option to merge duplicate teams, players, and staff.
* Feature - Option to display specific event in event blocks.
* Feature - Option to sort player checklist by name and squad number in events.
* Feature - Option to filter player lists by team.
* Feature - Option to link staff members.
* Feature - Filter countdown by calendar.
* Fix - Calculate column totals in box score.
* Fix - Mismatched encoding of included library.
* Localization - Fix translation function missing around string.

= 2.5.4 =
* Fix - Error when editing league table using older versions of WordPress.

= 2.5.3 =
* Fix - Calendar templates not loading when timezone setting is relative to UTC.

= 2.5.2 =
* Feature - Add match day to REST API.
* Tweak - Add order to positions during preset installation.
* Tweak - Display links to add new duties and officials if empty.
* Tweak - Add linebreaks to substitute dropdowns.
* Fix - Use default full time minutes in REST API.
* Fix - Uploading custom images as performance icons.
* Fix - Displaying timed performance with custom images.

= 2.5.1 =
* Feature - Officials importer.
* Feature - Officials added to dashboard glance items.
* Feature - Order setting added to staff jobs for custom sorting.
* Tweak - Display only the highest order job in staff profiles.
* Tweak - Require box score importer to be accessed from within an event.
* Tweak - Add hook to declare importable post types.
* Fix - Officials meta box in events when module is inactive.
* Fix - Issues when timezone is not set.

= 2.5 =
* Feature - Player of the match and star numbers added to box scores.
* Feature - Officials module for displaying referee appointments in matches.
* Feature - New player performance icons to choose from.
* Feature - Schema microdata added to event calendars, lists, and blocks.
* Feature - Box score importer for updating existing events.
* Feature - Order setting added to taxonomies for custom sorting.
* Feature - New relative date range options in event calendars.
* Feature - Date range options added to league tables and player lists.
* Feature - Option to hide players with zero statistics in player list.
* Tweak - Allow staff members to have multiple jobs.
* Tweak - Indicator dots added to calendars with events in frontend stylesheet.
* Tweak - Box score columns are now selected by default when adding new events.
* Tweak - Events made sortable by match day in admin.
* Tweak - Competitions renamed to leagues.
* Fix - Quick edit teams not showing when filtering players by team.
* Fix - Calendar feeds not updating without E-tag.
* Fix - Admin table cells wrapping.
* Fix - Timezone issues in calendars.

= 2.4.3 =
* Fix - Substitute Typo.
* Fix - WordPay image trailing slash.

= 2.4.2 =
* Feature - Add visibility option to player metrics.
* Fix - Remove protocol from default Gravatar images to prevent mix content warnings.

= 2.4.1 =
* Fix - Static function displaying notice in header.

= 2.4 =
* Feature - Integration with WordPay to allow paid team and player registrations.
* Feature - New team gallery shortcode and widget for displaying a gallery of team logos.
* Feature - Added support for player career totals based on calculated averages.
* Tweak - Allow competitions to be selected for friendly matches.
* Tweak - Added columns selector to gallery shortcodes.
* Fix - Full time defaulting to 90 minutes.
* Fix - Statistic format not reflected in meta box.
* Fix - Shortcode button hook timing conflicts.
* Preset - Swap par and score in golf preset.
* Preset - Update all presets to reflect new career total type.

= 2.3.2 =
* Fix - Team in player statistics total row displaying as zero.
* Fix - Notice when no sendoffs are available during minutes played calculation.

= 2.3.1 =
* Tweak - Update version numbers of recommended sport-specific extensions.
* Fix - Manually entered statistics not reflected in player profile totals.
* Fix - Template hooks not callable for third-party integration.
* Fix - Error when editing league tables in PHP versions earlier than 5.5.

= 2.3 =
* Feature - New setup wizard for first-time installs.
* Feature - Option to automatically create player profiles during user registration.
* Feature - Choose team or individual mode for each event.
* Feature - Send Off setting for player statistics to suspend minute count for that player.
* Tweak - Remove horizontal scrolling in dashboard to fix hidden dropdowns.
* Tweak - Revert text color overrides for dark color schemes in frontend styles.
* Fix - Borrowed players not automatically loading on event edit.
* Fix - Played minutes calculation and player profile statistics.
* Preset - Update all presets to support new mode switching feature.

= 2.2.10 =
* Tweak - Update modules page.
* Fix - League table discrepancy due to change in number of teams setting.
* Fix - JavaScript error caused by box score displaying icons without players.

= 2.2.9 =
* Fix - Warning message above player list template.

= 2.2.8 =
* Fix - Hidden box score header in values mode.
* Fix - Welcome page displaying after upgrade if preset was saved from settings.
* Fix - Decimal places being dropped from player list statistics.

= 2.2.7 =
* Tweak - Adjust frontend styles to allow some overrides.
* Tweak - Update modules page with new module options.
* Fix - Javascript error in icon mode box scores.
* Fix - Player list default sorting issue.
* Fix - Empty team checkboxes in player quick edit.

= 2.2.6 =
* Tweak - Hide box score table header row in icon mode.
* Tweak - Adjust frontend stylesheet.
* Fix - Empty league tables when no columns are selected.
* Fix - Empty player lists when no columns are selected.
* Fix - Link events setting not applied to box score time.
* Fix - Player list sorting error with non-numeric values.
* Fix - Home and away records being combined when opponent not in league table.

= 2.2.5 =
* Feature - Enable positions to be displayed in icons mode box score.
* Tweak - Reflect mixed column order in player list admin.
* Tweak - Remove table row border in frontend stylesheet.
* Tweak - Automatically apply table adjustments on admin page load.
* Tweak - Simplify box score icon totals.
* Fix - Adjustments not applying to player list values.
* Fix - Minutes not displaying in box score.
* Fix - Player positions displaying not displaying in box score.
* Fix - Total time displaying as 0:00.

= 2.2.4 =
* Feature - Option to show or hide career totals in player profiles.
* Tweak - Icons not rendering when frontend stylesheet is active.
* Tweak - Remove underline from icon links in frontend stylesheet.
* Tweak - Change competition and season placeholders in events to "None".
* Tweak - Enable horizontal scrolling on large tables in admin.
* Fix - Equations returning zero when no events played.
* Fix - Player lists and player profiles showing different statistics when filtered by competition or season.
* Fix - Substitution icon not rendering for starting lineup players.
* Fix - Manual player performance errors in profile.
* Fix - Error in event results if team was deleted.
* Fix - Remove deprecated function in PHP 7.0.
* Fix - Non-numeric errors in PHP 7.1.

= 2.2.3 =
* Fix - Placeholders for non-numeric values in player list displaying as zero.

= 2.2.2 =
* Tweak - Center align form events.
* Fix - Reverse form array to display events in chronological order.
* Fix - Error in player lists when querying legacy events.
* Fix - Manual values in player lists when no events have been played.

= 2.2.1 =
* Fix - Empty timeline error when calculating substitution time.

= 2.2 =
* Feature - New frontend stylesheet for third-party themes.
* Feature - New chronological streak format in league tables.
* Feature - Head to head tiebreaker option in league tables.
* Feature - Add option to select number of players in player lists.
* Feature - Quick edit player's team and squad number.
* Feature - Bulk edit players' past and current teams.
* Feature - Taxonomies added to REST API.
* Feature - Ability to display event history in player profiles.
* Feature - Event list format option added to player and team events.
* Feature - Option to record minutes for specific statistics.
* Feature - Time format added for racing and timed sports.
* Feature - Dedicated option to redirect team pages to site URL.
* Feature - Bulk action to generate team calendars.
* Feature - Automatically adjust played minutes based on substitution times.
* Feature - Match day column option added to event lists.
* Tweak - Remove event limit in calendars.
* Tweak - Allow player squad number to be zero.
* Tweak - Enable mixing performance and statistic column order.
* Tweak - Filter player statistic equations by offense and defense.
* Tweak - System status hidden unless in debug mode.
* Tweak - Move event list column options to sidebar.
* Tweak - Return zero instead of error if dividing by zero.
* Tweak - Always display performance icons in admin.
* Tweak - Add preview notation in event blocks by default.
* Tweak - Single player performance name option added for hover text in icons mode.
* Fix - Player list precision number format error.
* Fix - Player list adjustments for existing values.
* Fix - Hide empty positions in player lists and galleries.
* Fix - Import button selectors disappeared in WordPress 4.7.
* Fix - Substitution time missing parentheses.
* Fix - Staff for home team not being displayed in events.
* Fix - Enable output of time and results without team names in home/away mode.
* Fix - Prevent totals override in box scores.
* Localization - Add Gibraltar nationality option and flag.

= 2.1.7 =
* Fix - Activation error on older versions of PHP.

= 2.1.6 =
* Feature - Add equation format option to player performance.
* Tweak - Add text options to change tab labels.
* Fix - Activation errors using TGMPA.
* Fix - Empty footer column in team staff table.
* Preset - Update basketball preset.

= 2.1.5 =
* Feature - Add option to filter players by current or past team in player lists.
* Fix - Scheduled events not queried in REST API.

= 2.1.4 =
* Feature - Player and staff dropdown templates added to layout designer.
* Tweak - Default tab labels from layout designer.
* Tweak - Add "Home" and "Away" to text options.
* Tweak - Add horizontal padding to centered event list columns.
* Fix - Disable numeric slug generation for events due to permalink issues in some cases.
* Fix - Permalink issues caused by filter for scheduled events.
* Fix - Scheduled events being ignored by REST API.
* Fix - Inconsistent styling of player and staff dropdowns.
* Fix - Only include current players in player lists.
* Fix - Age calculation in BuddyPress context.

= 2.1.3 =
* Tweak - Add options to select number, team, and position columns to player list shortcode.
* Fix - Totals row offset in player statistics admin.
* Fix - Events not automatically ordered by date in some cases.
* Fix - Google Maps error when address is empty.
* Fix - Player lists for all teams not appearing in team edit screen.
* Fix - Error in player list when team no longer exists.
* Fix - Error in event logos when results are empty.
* Fix - Issue with link to future event from daily archive when multiple events are scheduled for a single day.

= 2.1.2 =
* Feature - Add offense and defense statistics to REST API.
* Tweak - Hide template tabs with no content.
* Tweak - Allow selection of player lists without teams.
* Tweak - Center-align time/results when between home and away teams in event list.
* Tweak - Increase checklist panel height in admin.
* Tweak - Update text options.
* Fix - Hidden box score columns still displaying when in offense/defense mode.
* Preset - Update cricket preset.

= 2.1.1 =
* Feature - Add substitution times in box score.
* Feature - Add text options to change template tab names.
* Tweak - Automatically align home and away columns in event lists.
* Fix - Box score minutes display issue.

= 2.1 =
* Feature - New simplified fixtures importer compatible with [LeagueLobster](http://tboy.co/leaguelobster).
* Feature - Add match day field to events.
* Feature - Add box score minutes to events.
* Feature - Add option to display full time in event details.
* Feature - Add inline and block option to event logos.
* Feature - Add squad number and name option to player details.
* Feature - Add tab options to layout designer.
* Feature - Add option to display player and staff dropdowns in profiles.
* Feature - Add option to select TBA, postponed, and canceled event status.
* Feature - Licenses tab for third-party extensions.
* Tweak - Get player data only when needed.
* Tweak - Add capabilities to taxonomies.
* Tweak - Display tutorials in main menu if user role is not admin or league manager.
* Tweak - Use contextual strings for featured images.
* Tweak - Enable meta query vars in REST API.
* Tweak - Adopt new tab class names in admin.
* Tweak - Inherit text color for event logo team text.
* Tweak - New developers section on modules page with link to join [Slack community](http://tboy.co/slack).
* Fix - Taxonomy links appearing in admin for users that can't edit events.
* Fix - Debug error on non-standard admin pages.
* Fix - REST API notice in Jetpack.

= 2.0.16 =
* Tweak - Add shortcode parameter to override global date in event calendar.

= 2.0.15 =
* Fix - Subversion issues.

= 2.0.14 =
* Fix - Use search mode in maps to prevent invalid parameter error.

= 2.0.13 =
* Fix - Google Maps embed code to reflect selected map type.
* Fix - Countdown error when teams are not selected.

= 2.0.12 =
* Tweak - Add API key to Google Maps in admin.

= 2.0.11 =
* Tweak - Embed code to reflect change in Google Maps API.

= 2.0.10 =
* Tweak - Enable sortable tables on all devices.

= 2.0.9 =
* Feature - Display admin notice when user is not allowed to edit an item.

= 2.0.8 =
* Feature - Add shortcode parameter to filter event calendars by player.
* Feature - Add text options to change age and birthday labels.

= 2.0.7 =
* Feature - Add option to show or hide logos or photos in event blocks.
* Tweak - Combine reverse teams option for results and box score.
* Fix - Add filter to template output for extensions.

= 2.0.6 =
* Tweak - Display squad numbers in defense section.
* Tweak - Display shared values in both offense and defense sections and sync when editing event.

= 2.0.5 =
* Fix - Hide team column in player statistics for player-vs-player sports.

= 2.0.4 =
* Fix - Title generator in event importer.

= 2.0.3 =
* Tweak - Restore career total tables in player profiles.
* Fix - Display sport and timezone selector after first installation.

= 2.0.2 =
* Fix - New events not saving with automatic titles when title is empty.
* Fix - Event importer not importing new events.

= 2.0.1 =
* Fix - Some player statistics calculating as zero.

= 2.0 =
* Feature - Integration with [WP REST API](https://wordpress.org/plugins/rest-api/) by adding endpoints for viewing, creating, editing, and deleting SportsPress data.
* Feature - New drag-and-drop layout designer for customizing events, teams, players, and staff pages.
* Feature - Allow player biography to float next to photo in profile.
* Feature - Add option to display separate offensive and defensive statistics in player profiles.
* Feature - Add option to display career totals as a footer row in player statistics tables.
* Feature - Add option to display event calendar or fixtures & results on team pages.
* Feature - Add option to display time in event logos section when results are not ready.
* Feature - Add global visibility settings to player statistic columns.
* Feature - Add team, competition, league, and venue filter to event calendar, event list, and event blocks shortcodes.
* Feature - Automatically re-order competitions, seasons, venues, positions, and jobs by slug.
* Feature - New welcome page outlining notable changes to major plugin version.
* Refactor - Change parameter for sp_get_next_event function to allow custom templating.
* Tweak - Reverse team order also applies to admin.
* Tweak - Hide squad number from defense box score.
* Tweak - Use more compact labeling in player columns admin meta box.
* Tweak - Update modules page to reflect new premium scoreboard module.
* Tweak - Remove hardcoded protocol for calls to Google Maps scripts.
* Tweak - Limit venue archives to events.
* Tweak - Float team profile next to logo on team pages.
* Tweak - Display league table and player list option in teams only when modules are active.
* Tweak - Load profile and description meta boxes as native editors instead of custom methods.
* Tweak - Load team abbreviations independent of post title filter.
* Tweak - Add z-index to make header float above other elements.
* Fix - Error when league table column has no equation.
* Fix - Error when displaying checkboxes for manual event statistics.
* Fix - Venues linking automatically in countdown widgets.
* Fix - Styling issue where countdown widgets were pushed off-screen in some themes.
* Fix - Avoid loading countdown widget if no events are available.
* Preset - Update baseball, cricket, floorball, handball, ice hockey, and softball presets.

= Full Changelog =
* For older versions, [view the full changelog](https://github.com/ThemeBoy/SportsPress/blob/master/changelog.txt).
