=== SportsPress - All in One Sports Management ===
Contributors: ThemeBoy
Tags: sport, sports, clubs, teams, statistics, stats, fixtures, results, standings, league tables, leagues, shortcodes, sports journalism, themeboy, wordpress sports
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
Requires at least: 3.8
Tested up to: 3.9.1
Stable tag: 1.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

SportsPress is an extendable sports plugin that adds league management capabilities and a statistics calculator for any sport.

== Description ==

= Create a Professional Sports Website =
SportsPress is the ultimate all-in-one plugin for transforming your WordPress blog into a fully automated, configurable team or club website.

= Features =
* Equation Builder
* Team Profiles with Player List
* League Tables with Club Logos
* Events (Fixtures & Results) with Player Performance
* Events Calendar
* Player Profiles & Statistics Per Position
* Player Lists
* Staff Profiles
* Season Archives
* Venue Information & Maps
* Statistics & League Table Columns Configuration
* Sport Presets
* Team & Individual mode
* Import Events, Teams, Players, and Staff from CSV Files
* Easy Shortcodes Menu in Editor

More details about each feature are available on the [SportsPress Website](http://sportspresspro.com/).

= Premium Extensions =

Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](http://sportspresspro.com/pricing/) to get access to more advanced features to your club 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 )
* 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 )
* Norwegian Bokmål - Norsk bokmål ( nb_NO )
* Polish – Polski ( pl_PL )
* Portuguese (Brazil) – Português do Brasil ( pt_BR )
* Portuguese (Portugal) – Português ( pt_PT )
* Russian - Русский ( ru_RU )
* Slovak – Slovenčina ( sk_SK )
* Slovenian – Slovenija ( sl_SI )
* Spanish – Español ( es_ES )
* Swedish – Svenska ( sv_SE )
* Turkish - Türkçe ( tr_TR )

= Get Involved =

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

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

Translators can contribute new languages to SportsPress through [Transifex](https://www.transifex.com/projects/p/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://sportspresspro.com/).
* Subscribe to our [YouTube channel](https://www.youtube.com/user/themeboyteam).
* Follow ThemeBoy on [Facebook](https://facebook.com/themeboy) & [Twitter](http://twitter.com/themeboy).


= 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

= 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. SportsPress style settings, configuration, and responsive layout example.
2. Equation builder admin page.
3. League table in Twenty Fourteen theme.
4. League table admin page.
5. Events list in Twenty Fourteen theme.
6. Events admin page.

== 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).

= Can I import teams/players/events from a CSV file? =

Yes, CSV importers are included with the plugin. Go to Tools > Import and choose from one of the SportsPress CSV importers. When importing events, be sure to use the date format yyyy/mm/dd.

== Changelog ==

= 1.2 =
* Feature - Shortcode dropdown menu added to page and post editor.
* Feature - New shortcodes added to individual player profiles.
* Tweak - Add timezone setting in place of base country.
* Localization - Update translations.

= 1.1.8 =
* Tweak - Order player list positions by slug.
* Tweak - Wrap templates with div for frontend styling.
* Fix - Date format in sample events CSV.
* Localization - Fix WPML duplicate posts.
* Localization - Update Armenian, Finnish, French, German, Norwegian, & Spanish translations.

= 1.1.7 =
* Fix - Inconsistent country code for Wales.
* Fix - Localize post date month names.
* Fix - Warning message when changing mode on welcome page.
* Localization - Update Armenian, French, Italian & Norwegian translations.

= 1.1.6 =
* Fix - Maps not loading in admin.

= 1.1.5 =
* Tweak - Wrap post content with div for easier templating.
* Localization - Update French translation.
* Localization - Update Spanish translation.

= 1.1.4 =
* Feature - Add home venue option in team admin.
* Tweak - Move editor meta boxes to bottom of post edit page.
* Tweak - Remove link to league and season archives.
* Fix - Previous and next post function in some themes.
* Fix - Duplicate team checkboxes in player.
* Preset - Add table tennis preset.
* Preset - Update ice hockey preset.

= 1.1.3 =
* Fix - Display all event result columns by default.

= 1.1.2 =
* Feature - Event outcome abbreviation for streak column.
* Fix - League table calculations for constants with 2 or more digits.
* Preset - Add ice hockey preset.
* Preset - Add volleyball preset.
* Localization - Update Armenian translation.
* Localization - Update Finnish translation.
* Localization - Update German translation.

= 1.1.1 =
* Tweak - Check if equation is attempting to divide by zero to prevent errors.
* Fix - Player statistics meta box message.
* Preset - Make baseball preset appear in dropdown.

= 1.1 =
* Feature - Enable individual sport mode.
* Feature - Enable displaying player lists on team pages.
* Feature - Enable player performance reordering in events.
* Feature - Enable changing player numbers and positions per event.
* Feature - Add date selector to display today's events and this week's events in calendar.
* Feature - Option to redirect team permalinks to official team website instead of team page.
* Feature - Display staff in event performance section.
* Feature - Add column selector to player profiles and player lists.
* Feature - Add option to show or hide player performance section in events.
* Feature - Add global padding option to SportsPress settings.
* Tweak - Force decimals to display when precision is set.
* Tweak - Add SportsPress post types to At a Glance section in dashboard.
* Tweak - Filter checklists by league and season.
* Tweak - Display layout type in admin.
* Tweak - Improve roles and permissions.
* Fix - Some select all checkboxes defaulted to being checked.
* Refactor - Use gettext filter to alter frontend text.
* Preset - Add American Football preset.
* Preset - Add Australian Rules Football preset.
* Preset - Add baseball preset.
* Preset - Add cricket preset.
* Preset - Add darts preset.
* Preset - Add handball preset.
* Preset - Add netball preset.
* Preset - Add Rugby League preset.
* Preset - Add squash preset.
* Preset - Add tennis preset.
* Preset - Update soccer preset.
* Localization - Armenian translation by ArtakEVN.
* Localization - Update translations.

= 1.0.4 =
* Fix - Shorthand php notation removed for better compatibility.
* Localization - Update Finnish translation.
* Localization - Update Greek translation.

= 1.0.3 =
* Tweak - Hide theme integration notice.

= 1.0.2 =
* Fix - Initialize columns array in player list class.

= 1.0.1 =
* Fix - Conditional install error relating to post types function.

= 1.0 =
* Feature - New drag and drop equation builder.
* Feature - Add team website link in admin.
* Feature - Enable searching for post user when there are more than 10.
* Feature - New event manager role that can publish and manage events only.
* Tweak - Fix league table alignment and responsive height.
* Tweak - Set maximum size of event blocks logos.
* Tweak - Add option to link venues in event list.
* Tweak - Remove margin between table and scrollbar.
* Tweak - Display delimiter between team logos under event title.
* Tweak - Hide media, comments, and tools from feature limited users.
* Tweak - Hide previous and next post links for custom post types.
* Tweak - Rounding explicitly displays all decimal places.
* Refactor - Combine players and staff in admin menu.
* Fix - Duplicate team logos in event blocks.
* Fix - Query future events for next team event.
* Fix - Live countdown in admin dashboard.
* Fix - Display all current teams in player profile.
* Localization - Norwegian Bokmål translation by sijo.
* Localization - Update translations.

= 0.9.4 =
* Tweak - Force delete preset variables when switching sports in settings.
* Fix - Apply player gallery limit.
* Fix - Display localized team results string.
* Refactor - Use more common thumbnail sizes.
* Localization - Portuguese (Portugal) translation by Andrew_Melim.

= 0.9.3 =
* Fix - Player list columns not displaying.

= 0.9.2 =
* Fix - Duplicate editor fields in team edit screen.

= 0.9.1 =
* Tweak - Add text domain to configure descriptions.
* Tweak - Change default country to US.
* Fix - Event block results display for teams without logos.

= 0.9 =
* Feature - Import tool added for importing staff from CSV file.
* Feature - Add checkboxes to select player statistics columns.
* Feature - Add option to select Google Map type.
* Feature - Add option to display team logos under event title.
* Feature - Enable player metrics and statistics selection in player list widget.
* Feature - Enable linking event blocks and event list to team pages.
* Tweak - Move leagues and seasons to SportsPress submenu.
* Tweak - Use singular post type slugs by default for consistency with WP core.
* Tweak - Remove alternate color in favor of link color setting.
* Tweak - Enable scrollable tables to prevent overflow.
* Tweak - Add helper text to venue location picker.
* Tweak - Adjust markup and remove link in league table caption.
* Tweak - Insert group name anchors to player list.
* Tweak - Display post type counts in system status.
* Fix - Event list results calculation when team column unchecked.
* Fix - Display player group names.
* Preset - Add snooker preset.
* Localization - Finnish translation by JuKi and hanro.
* Localization - Chinese translation by dic_2008.
* Localization - Dutch translation by valentijnreza.

= 0.8.6 =
* Fix - Issue adding teams to events.

= 0.8.5 =
* Fix - Issue saving new venues.

= 0.8.4 =
* Feature - Add option to limit number of teams per event.
* Feature - Show venue option in Countdown widget.
* Feature - Enable multiple current teams per player.
* Feature - Format performance data for use in templates.
* Feature - Add next event function to team for template.
* Refactor - Adjust theme template loader for venues and seasons.
* Tweak - Replace featured image text in admin.
* Tweak - Use wider map zoom setting.
* Tweak - Make SportsPress tables full width by default.
* Fix - Team filter in admin.
* Fix - Displaying 1 view as plural.

= 0.8.3 =
* Feature - Enable using events started and substituted in statistics equations.
* Tweak - Remove deprecated MySQL version function from System Status page.
* Fix - Adjust styling to display select boxes in admin.

= 0.8.2 =
* Fix - Add content in main loop only.

= 0.8.1 =
* Tweak - Output player statistics in system status.
* Tweak - Prepend templates to content instead of outputting directly.
* Fix - Enable metrics usage in individual player statistics.

= 0.8 =
* Feature - New shortcode event_results.
* Feature - New shortcode event_details.
* Feature - New shortcode event_performance.
* Feature - New blocks layout to display calendars in fixtures/results style.
* Feature - New player statistics calculate values using performance and metrics.
* Feature - New staff profiles.
* Feature - New System Status screen in admin.
* Feature - Add status selector to calendars and event widgets.
* Feature - Add ability to display statistics and metrics in player lists.
* Feature - Add time/results column to event list.
* Feature - Link WP user roles with players and staff.
* Feature - Display player substitutions in event page.
* Feature - Option to group player lists by position.
* Feature - Option to display outcomes in event results.
* Refactor - Player profiles now use statistics and performance.
* Refactor - Split admin CSS files for better performance.
* Tweak - Display player numbers in admin.
* Tweak - Move SportsPress settings to top-level page.
* Tweak - Link date to event page in event list.
* Tweak - Load Google Maps script only when needed.
* Tweak - Add descriptions to configure screen for clarity.
* Tweak - Create dedicated settings tab for text settings.
* Tweak - Remove redundant border from pagination table.
* Tweak - Display players and teams as total count in admin.
* Fix - Display player number when 0 or 00.
* Fix - Enable changing variable name or key from quick edit.
* Fix - Team data saving issue.
* Fix - Display all future events in venue archive.
* Fix - Display all metrics instead of filtering by position.
* Localization - Croatian translation by i__k.
* Localization - Greek translation by Spirossmil.
* Localization - Portuguese (Brazil) translation by rochester.
* Localization - Russian translation by Selskei.
* Localization - Slovenian translation by BOCo.
* Localization - Update translations.

= 0.7.4 =
* Feature - Shortcode added to display single event content.
* Tweak - Display default shortcode format when editing a calendar or player list.
* Tweak - Add backwards compatibility for shortcodes prior to version 0.7.
* Fix - Template hook to change display strings in admin.

= 0.7.3 =
* Feature - Enable editing Key field in Metrics and Performance.
* Tweak - Lighter default color scheme.

= 0.7.2 =
* Fix - Update missing assets.

= 0.7.1 =
* Fix - Activation error preventing new installation.

= 0.7 =
* Feature - Welcome page to display on activation.
* Feature - Frontend color scheme selection.
* Feature - Custom CSS option.
* Feature - Add venue column to event list.
* Feature - Manual point adjustments added to league tables.
* Feature - Enable table pagination.
* Feature - Enable live countdown setting.
* Refactor - Only load required classes to improve performance.
* Refactor - Change statistic to performance.
* Refactor - Soft deprecate sportspress prefixed functions in favor of sp prefix.
* Tweak - Filter players in events by current team.
* Tweak - Separate admin styles to improve load times.
* Tweak - Add margin above view all link in widgets.
* Tweak - Group text options by context.
* Tweak - Display event details in standard table markup for style consistency.
* Tweak - Display venue as a table for style consistency.
* Tweak - Hide individual player performance when players not selected.
* Fix - Responsive league table glitch.
* Fix - Warning messages when adding new team, player, or event.
* Fix - Countdown widget when event is selected.
* Fix - Multiple select box height glitch in some browsers fixed.
* Localization - Arabic translation by Abdulelah.
* Localization - German translation by Bhelpful2.
* Localization - Update Swedish translation by JensZ.

= 0.6.2 =
* Feature - Add options to make tables responsive and sortable.
* Feature - Use consistent shortcode naming with backwards compatibility.

= 0.6.1 =
* Feature - Display full event results on hover over main team result in admin.
* Feature - Add option to choose delimiter to use between team names in event titles.
* Tweak - Adjust text options to modify front-end only.
* Fix - Responsive league table output and styling.

= 0.6 =
* Feature - New events shortcodes: countdown, events-calendar, and events-list.
* Feature - New teams shortcode: league-table.
* Feature - New players shortcodes: player-list and player-gallery.
* Feature - Display available shortcodes in post edit screen.
* Feature - Add new settings page to change default text output.
* Feature - Add new section to permalinks settings to change post and term slugs.
* Tweak - Display teams as link list in admin page for league table teams columns.
* Tweak - Vertically align team logos in league table.
* Fix - Check if player belongs to leagues to avoid warnings in player profile.
* Fix - Total player statistics calculation in events.
* Fix - Responsive tables in event details and outcomes.
* Fix - Display players from all seasons or leagues when none have been created.

= 0.5 =
* Feature - Import tool added for importing events from CSV file.
* Feature - New post type Calendar added.
* Feature - League and Friendly format options added to events.
* Feature - List and Gallery format options added to player lists.
* Feature - Calendar and List format options added to calendars.
* Feature - Options added to turn on and off player list columns.
* Feature - Options added to player list widget to limit rows and display link to view all players.
* Feature - Options added to calendar widget to filter events.
* Feature - New widget Events List added.
* Feature - New widget Player Gallery added.
* Refactor - Use singular slugs for secondary post types.
* Tweak - Add tooltips to icons in admin table headings.
* Tweak - Style event results in admin events list. 
* Tweak - Separate event date and time in admin events list.
* Fix - Enable custom post type sorting in admin.
* Fix - Added check before displaying deleted posts in league tables and player lists.
* Fix - Adjust Select All filter in player lists and league tables.

= 0.4.3 =
* Feature - Enable selecting multiple outcomes per team per event.
* Tweak - Use icons in dashboard column labels for teams and roster.
* Tweak - Mark current team with check icon in admin player table.
* Fix - Check that selected columns are in array to avoid warning.
* Localization - Add Czech translation.
* Localization - Add Slovak translation.
* Localization - Add Polish translation by karimjarro.

= 0.4.2 =
* Feature - Enable selecting columns to display in single league table.
* Feature - Add options to limit rows, display logos, and display full table link.
* Feature - Add option to display national flags in player profiles.
* Refactor - Group Players and Staff under Roster menu group.
* Tweak - Reorder default player profile content.
* Tweak - Display player number before page title instead of metrics section.
* Tweak - Display player metrics as definition list instead of table.
* Fix - Check if static player list is array to avoid warning message.

= 0.4.1 =
* Tweak - Activate checkbox when all players are added to player list.
* Fix - Function date_diff added for PHP < 5.3.
* Localization - Swedish translation by JensZ.

= 0.4 =
* Feature - SportsPress Status dashboard widget added to display number of events and countdown in admin.
* Feature - New dashboard menu icons.
* Feature - More intuitive player edit screen.
* Feature - Enable spreadsheet style keyboard navigation in admin data tables.
* Feature - Add hover action on league table team names to edit display name.
* Refactor - Remove min and max outcome options from column equation.
* Refactor - Change Rounding precision to default to 0.
* Tweak - Used jQuery Chosen for inputs where useful.
* Tweak - Prepend plugin name to widget titles.
* Tweak - Highlight settings in admin menu when adding new config post type.
* Tweak - Display Events as Schedule in admin sidebar menu.
* Tweak - Update widget descriptions.
* Tweak - Remove unused external class eqGraph.
* Tweak - Display sort order priority options for number of columns available.
* Fix - Apply table column rounding when precision is set.
* Fix - Display event results on events page when available.
* Fix - Check that event results are available before displaying a warning under certain conditions.
* Fix - Namespace eqEOS class to avoid conflict with other plugins.
* Localization - Use specific strings instead of dynamic ones for more accurate translations.
* Localization - Use generic strings where appropriate.
* Localization - Update German translation.
* Localization - Update Spanish translation.
* Localization - Update French translation.
* Localization - Update Italian translation.
* Localization - Update Japanese translation.

= 0.3.3 =
* Feature - Add default sorting options per player list.
* Feature - Add option to sort player list alphabetically by name or by default.

= 0.3.2 =
* Feature - Add England, Scotland, Northern Ireland, and Wales to countries selector.
* Feature - Enable searching for countries in dropdown.

= 0.3.1 =
* Feature - Import tool added for importing teams from CSV file.
* Tweak - Added option to select custom sport and enter sport name.
* Tweak - Display player number under photo in admin screen.
* Tweak - Positions, Leagues, and Seasons columns added to player import tool.
* Tweak - Styled SportsPress setup notice.
* Refactor - Sum changed to Total in player statistic calculation settings.

= 0.3 =
* Feature - Import tool added for importing players from CSV file.
* Feature - Add ability to select 
* Tweak - Display current team indicator in players admin screen.

= 0.2.10 =
* Fix - Team filtering in events, tables, players, and lists.
* Tweak - Display statistics for all league/season events played in player profiles and player lists.
* Tweak - Count events as played when in starting lineup or made substitution.
* Tweak - Display player metrics only when value is set.

= 0.2.9 =
* Feature - Ability to select players from all teams in player list.
* Fix - Decimal sorting in league tables and player lists.

= 0.2.8 =
* Feature - Add player list widget.
* Localization - Add German translations.
* Localization - Add Spanish translations.
* Localization - Add Italian translations.

= 0.2.7 =
* Feature - Select columns to display in league table widget.
* Tweak - Start league table positions at 1 instead of 0.

= 0.2.6 =
* Localization - Add French translations.
* Preset - Update soccer preset.

= 0.2.5 =
* Fix - Update deprecated function to prevent error in Player Lists.

= 0.2.4 =
* Feature - Display venue map on event page and venue archive.
* Fix - Add checks to prevent league table dividing by zero when no events have been played.
* Fix - Flush rewrite rules for taxonomies on activation.
* Tweak - Sort sports presets alphabetically by localized name.

= 0.2.3 =
* Feature - Enable selecting main event result.
* Feature - Add Last 5 counter to table columns.
* Localization - Update Japanese translations.
* Preset - Complete American Football preset.

= 0.2.2 =
* Feature - League Table widget added.
* Feature - Recent Events widget added.
* Feature - Future Events widget added.
* Feature - Countdown widget added.
* Fix - Syntax error fixed for PHP version 5.2 and below.
* Tweak - Editor section added to League Tables and Player Lists.

= 0.2.1 =
* Feature - Events Calendar widget added.
* Fix - Player settings table markup fixed.
* Tweak - Refine custom post type capabilities for user roles.

= 0.2 =
* Feature - Add option to select whether statistics are calculated as a sum or average.
* Feature - Enable pageview tracking for posts and custom post types.
* Feature - Responsive datatables.
* Fix - Add site admin capabilities for multisite.
* Fix - Force numerical sorting of number column.
* Tweak - Enable SportsPress content functions to be called without explicit ID.
* Tweak - Remove redundant admin menu links via filter.

= 0.1.7 =
* Feature - Enable selecting venues to use uploaded images.

= 0.1.6 =
* Tweak - Activate per post type permissions.
* Tweak - Give admin all permissions for custom posts.

= 0.1.5 =
* Tweak - Remove flag images to lighten download size.

= 0.1.4 =
* Fix - All Plugin-Check warnings.
* Tweak - Split templates into files in subdirectory.
* Tweak - Simplify gettext filters.

= 0.1.3 =
* Fix - Style conflict with Foundation framework in table columns.
* Feature - HTML output added to custom post types with data table sorting.
* Feature - Enable metrics and statistics per player position.
* Feature - Save team played per season per league in player edit screen.
* Feature - Give teams the option to show and hide past seasons.
* Feature - Venues, Seasons, and Leagues added as taxonomies.
* Feature - Add L10 counter to report last 10 outcomes.
* Feature - Add STRK counter to report current outcome streak.
* Localization - Add country names in Czech, German, Spanish, French, Italian, Japanese, Polish, Russian, and Slovak.

= 0.1.2 =
* Tweak - Use custom post types for metrics and statistics configuration.
* Feature - Display HTML tables when viewing League Table and Player List post types.
* Feature - Link player and team names to single post pages.
* Feature - Register default configuration for soccer.
* Feature - Sort league table and player list by priority.

= 0.1.1 =
* Tweak - Update description.

= 0.1 =
* Alpha release for first look and testing.
