diff --git a/includes/admin/class-sp-admin-assets.php b/includes/admin/class-sp-admin-assets.php index 8928d289..8d8b3117 100755 --- a/includes/admin/class-sp-admin-assets.php +++ b/includes/admin/class-sp-admin-assets.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/class-sp-admin-post-types.php b/includes/admin/class-sp-admin-post-types.php index 41ea4d3d..b8abe5fe 100644 --- a/includes/admin/class-sp-admin-post-types.php +++ b/includes/admin/class-sp-admin-post-types.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.6 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/class-sp-admin-sports.php b/includes/admin/class-sp-admin-sports.php index 97adc018..9eb69c37 100644 --- a/includes/admin/class-sp-admin-sports.php +++ b/includes/admin/class-sp-admin-sports.php @@ -5,7 +5,7 @@ * The SportsPress admin sports class stores preset sport data. * * @class SP_Admin_Sports - * @version 1.9.19 + * @version 2.0 * @package SportsPress/Admin * @category Class * @author ThemeBoy diff --git a/includes/admin/class-sp-admin-taxonomies.php b/includes/admin/class-sp-admin-taxonomies.php index 2c70bdd5..de6a4206 100644 --- a/includes/admin/class-sp-admin-taxonomies.php +++ b/includes/admin/class-sp-admin-taxonomies.php @@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) { * Handles taxonomies in admin * * @class SP_Admin_Taxonomies - * @version 1.9.7 + * @version 2.0 * @package SportsPress/Admin * @category Class * @author ThemeBoy diff --git a/includes/admin/class-sp-admin-welcome.php b/includes/admin/class-sp-admin-welcome.php index 3e3d8d6c..6c742778 100644 --- a/includes/admin/class-sp-admin-welcome.php +++ b/includes/admin/class-sp-admin-welcome.php @@ -9,7 +9,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9.13 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/class-sp-admin-meta-boxes.php b/includes/admin/post-types/class-sp-admin-meta-boxes.php index 0c45214f..cfea565c 100644 --- a/includes/admin/post-types/class-sp-admin-meta-boxes.php +++ b/includes/admin/post-types/class-sp-admin-meta-boxes.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.13 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php index d47ab380..b997d596 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.19 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php index 260492f0..f649422e 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.6 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php index ff80e446..6b8adc24 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.19 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-columns.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-columns.php index 134baecc..64e024b7 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-columns.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-columns.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.6 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php index ec9b0568..74ba81e5 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.7 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php index 92dcd987..72f8ffef 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.0 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-events.php b/includes/admin/settings/class-sp-settings-events.php index 4202c7d8..dc2bccf2 100644 --- a/includes/admin/settings/class-sp-settings-events.php +++ b/includes/admin/settings/class-sp-settings-events.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9.19 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-general.php b/includes/admin/settings/class-sp-settings-general.php index 80565920..eafb6366 100644 --- a/includes/admin/settings/class-sp-settings-general.php +++ b/includes/admin/settings/class-sp-settings-general.php @@ -98,14 +98,17 @@ class SP_Settings_General extends SP_Settings_Page { )); endif; - $options = array_merge( $options, array( + $options = array_merge( $options, + array( array( 'title' => __( 'Custom CSS', 'sportspress' ), 'id' => 'sportspress_custom_css', 'css' => 'width:100%; height: 130px;', 'type' => 'textarea', ), - + ), + + apply_filters( 'sportspress_general_script_options', array( array( 'title' => __( 'Scripts', 'sportspress' ), 'desc' => __( 'Live countdowns', 'sportspress' ), @@ -124,7 +127,9 @@ class SP_Settings_General extends SP_Settings_Page { 'checkboxgroup' => 'end', 'desc_tip' => __( 'This will enable a shortcode menu to be displayed in the visual editor.', 'sportspress' ), ), - + ) ), + + array( array( 'title' => __( 'Tables', 'sportspress' ), 'desc' => __( 'Responsive', 'sportspress' ), @@ -158,7 +163,7 @@ class SP_Settings_General extends SP_Settings_Page { 'type' => 'checkbox', 'desc_tip' => __( 'Hide widget when same as content.', 'sportspress' ), ), - )); + ) ); if ( apply_filters( 'sportspress_enable_header', false ) ) { $options[] = array( diff --git a/includes/admin/settings/class-sp-settings-page.php b/includes/admin/settings/class-sp-settings-page.php index f0ccff2c..12675a92 100644 --- a/includes/admin/settings/class-sp-settings-page.php +++ b/includes/admin/settings/class-sp-settings-page.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 0.7 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-players.php b/includes/admin/settings/class-sp-settings-players.php index 1661a32b..96391594 100644 --- a/includes/admin/settings/class-sp-settings-players.php +++ b/includes/admin/settings/class-sp-settings-players.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-staff.php b/includes/admin/settings/class-sp-settings-staff.php index 78b86370..784b26b0 100644 --- a/includes/admin/settings/class-sp-settings-staff.php +++ b/includes/admin/settings/class-sp-settings-staff.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-teams.php b/includes/admin/settings/class-sp-settings-teams.php index 794056d2..44ced474 100644 --- a/includes/admin/settings/class-sp-settings-teams.php +++ b/includes/admin/settings/class-sp-settings-teams.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/api/class-sp-rest-api.php b/includes/api/class-sp-rest-api.php index 1521ba6b..bcc3a8a7 100644 --- a/includes/api/class-sp-rest-api.php +++ b/includes/api/class-sp-rest-api.php @@ -5,7 +5,7 @@ * The SportsPress REST API class handles all API-related hooks. * * @class SP_REST_API - * @version 1.9.19 + * @version 2.0 * @package SportsPress/Classes * @category Class * @package SportsPress/API diff --git a/includes/class-sp-ajax.php b/includes/class-sp-ajax.php index 65840520..cf976820 100644 --- a/includes/class-sp-ajax.php +++ b/includes/class-sp-ajax.php @@ -8,7 +8,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly * AJAX Event Handler * * @class SP_AJAX - * @version 1.9.13 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-event.php b/includes/class-sp-event.php index 657bdfb4..6f81bb23 100644 --- a/includes/class-sp-event.php +++ b/includes/class-sp-event.php @@ -5,7 +5,7 @@ * The SportsPress event class handles individual event data. * * @class SP_Event - * @version 1.9.19 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-frontend-scripts.php b/includes/class-sp-frontend-scripts.php index 2aaecf5e..686afe8a 100644 --- a/includes/class-sp-frontend-scripts.php +++ b/includes/class-sp-frontend-scripts.php @@ -3,7 +3,7 @@ * Handle frontend forms * * @class SP_Frontend_Scripts - * @version 1.9.17 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-install.php b/includes/class-sp-install.php index a0c7d7ed..9a988250 100644 --- a/includes/class-sp-install.php +++ b/includes/class-sp-install.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Classes - * @version 1.9.13 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/class-sp-league-table.php b/includes/class-sp-league-table.php index a53b5a74..567bfa46 100644 --- a/includes/class-sp-league-table.php +++ b/includes/class-sp-league-table.php @@ -5,7 +5,7 @@ * The SportsPress league table class handles individual league table data. * * @class SP_League_Table - * @version 1.9.8 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-modules.php b/includes/class-sp-modules.php index dfc3ed27..bcb1bc3a 100644 --- a/includes/class-sp-modules.php +++ b/includes/class-sp-modules.php @@ -5,7 +5,7 @@ * The SportsPress modules class stores available modules. * * @class SP_Modules - * @version 1.9 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-player-list.php b/includes/class-sp-player-list.php index b4ee0ff3..f68400a3 100644 --- a/includes/class-sp-player-list.php +++ b/includes/class-sp-player-list.php @@ -5,7 +5,7 @@ * The SportsPress player list class handles individual player list data. * * @class SP_Player_List - * @version 1.9.13 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-player.php b/includes/class-sp-player.php index 574082cc..0c41b5d8 100644 --- a/includes/class-sp-player.php +++ b/includes/class-sp-player.php @@ -5,7 +5,7 @@ * The SportsPress player class handles individual player data. * * @class SP_Player - * @version 1.9.13 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-post-types.php b/includes/class-sp-post-types.php index 551d3204..bf2aa392 100644 --- a/includes/class-sp-post-types.php +++ b/includes/class-sp-post-types.php @@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) { * Registers post types and taxonomies * * @class SP_Post_types - * @version 1.9 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-team.php b/includes/class-sp-team.php index bd7951f1..797408cb 100644 --- a/includes/class-sp-team.php +++ b/includes/class-sp-team.php @@ -5,7 +5,7 @@ * The SportsPress team class handles individual team data. * * @class SP_Team - * @version 1.9.14 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-template-loader.php b/includes/class-sp-template-loader.php index 7f1fd7af..52da0dea 100644 --- a/includes/class-sp-template-loader.php +++ b/includes/class-sp-template-loader.php @@ -3,7 +3,7 @@ * Template Loader * * @class SP_Template_Loader - * @version 1.9.13 + * @version 2.0 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sp-api-functions.php b/includes/sp-api-functions.php index 4dafec60..b30e1859 100644 --- a/includes/sp-api-functions.php +++ b/includes/sp-api-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 1.9.19 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sp-conditional-functions.php b/includes/sp-conditional-functions.php index 4aa306a0..c3175b3f 100755 --- a/includes/sp-conditional-functions.php +++ b/includes/sp-conditional-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 1.6 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index 9fa52478..2decda66 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 1.9.19 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sp-template-functions.php b/includes/sp-template-functions.php index ab5a2d69..d74ea5fd 100644 --- a/includes/sp-template-functions.php +++ b/includes/sp-template-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 1.9.13 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/modules/sportspress-calendars.php b/modules/sportspress-calendars.php index dd41c191..9a0605c7 100644 --- a/modules/sportspress-calendars.php +++ b/modules/sportspress-calendars.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add event calendars to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 1.8.3 +Version: 2.0 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) : * Main SportsPress Calendars Class * * @class SportsPress_Calendars - * @version 1.8.3 + * @version 2.0 */ class SportsPress_Calendars { @@ -49,7 +49,7 @@ class SportsPress_Calendars { */ private function define_constants() { if ( !defined( 'SP_CALENDARS_VERSION' ) ) - define( 'SP_CALENDARS_VERSION', '1.8.3' ); + define( 'SP_CALENDARS_VERSION', '2.0' ); if ( !defined( 'SP_CALENDARS_URL' ) ) define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-countdowns.php b/modules/sportspress-countdowns.php index 4496ff0a..0c408efe 100644 --- a/modules/sportspress-countdowns.php +++ b/modules/sportspress-countdowns.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add countdown widgets to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 1.8.3 +Version: 2.0 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Countdowns' ) ) : * Main SportsPress Countdowns Class * * @class SportsPress_Countdowns - * @version 1.8.3 + * @version 2.0 */ class SportsPress_Countdowns { @@ -41,7 +41,7 @@ class SportsPress_Countdowns { */ private function define_constants() { if ( !defined( 'SP_COUNTDOWNS_VERSION' ) ) - define( 'SP_COUNTDOWNS_VERSION', '1.8.3' ); + define( 'SP_COUNTDOWNS_VERSION', '2.0' ); if ( !defined( 'SP_COUNTDOWNS_URL' ) ) define( 'SP_COUNTDOWNS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-league-tables.php b/modules/sportspress-league-tables.php index db5378d1..1590e9eb 100644 --- a/modules/sportspress-league-tables.php +++ b/modules/sportspress-league-tables.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add league tables to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 1.8.7 +Version: 2.0 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_League_Tables' ) ) : * Main SportsPress League Tables Class * * @class SportsPress_League_Tables - * @version 1.8.3 + * @version 2.0 */ class SportsPress_League_Tables { @@ -49,7 +49,7 @@ class SportsPress_League_Tables { */ private function define_constants() { if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) ) - define( 'SP_LEAGUE_TABLES_VERSION', '1.8.3' ); + define( 'SP_LEAGUE_TABLES_VERSION', '2.0' ); if ( !defined( 'SP_LEAGUE_TABLES_URL' ) ) define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-player-lists.php b/modules/sportspress-player-lists.php index 4275c9b3..d2b7be2d 100644 --- a/modules/sportspress-player-lists.php +++ b/modules/sportspress-player-lists.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add player lists to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 1.9.17 +Version: 2.0 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Player_Lists' ) ) : * Main SportsPress Player Lists Class * * @class SportsPress_Player_Lists - * @version 1.9 + * @version 2.0 */ class SportsPress_Player_Lists { @@ -48,7 +48,7 @@ class SportsPress_Player_Lists { */ private function define_constants() { if ( !defined( 'SP_PLAYER_LISTS_VERSION' ) ) - define( 'SP_PLAYER_LISTS_VERSION', '1.9' ); + define( 'SP_PLAYER_LISTS_VERSION', '2.0' ); if ( !defined( 'SP_PLAYER_LISTS_URL' ) ) define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-tutorials.php b/modules/sportspress-tutorials.php index 8d8c6c7d..533abe72 100644 --- a/modules/sportspress-tutorials.php +++ b/modules/sportspress-tutorials.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Display SportsPress video tutorials. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 1.9.6 +Version: 2.0 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Tutorials' ) ) : * Main SportsPress Tutorials Class * * @class SportsPress_Tutorials - * @version 1.9.6 + * @version 2.0 */ class SportsPress_Tutorials { @@ -44,7 +44,7 @@ class SportsPress_Tutorials { */ private function define_constants() { if ( !defined( 'SP_TUTORIALS_VERSION' ) ) - define( 'SP_TUTORIALS_VERSION', '1.9.6' ); + define( 'SP_TUTORIALS_VERSION', '2.0' ); if ( !defined( 'SP_TUTORIALS_URL' ) ) define( 'SP_TUTORIALS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/readme.txt b/readme.txt index d8e01cc1..869859e0 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: ThemeBoy, brianmiyaji, aylaview, rochesterj Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtures, results, standings, league tables, leagues, shortcodes, sports data, sports club, themeboy, esports, wordpress sports, equations, calculations, events, calendars, players, profiles, staff, seasons, countdowns, club management, football, nfl, footy, afl, baseball, basketball, cricket, darts, handball, hockey, netball, rugby, snooker, soccer, squash, tennis, volleyball, dota 2, league of legends, golf Donate link: http://tboy.co/donate Requires at least: 3.8 -Tested up to: 4.4 -Stable tag: 1.9.20 +Tested up to: 4.5 +Stable tag: 2.0 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -49,6 +49,7 @@ Transform your WordPress blog into a fully configurable team, club, or league we 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 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/) @@ -123,6 +124,7 @@ Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](htt * [Football Club](http://tboy.co/fc) * [Premier](http://tboy.co/premier) * [Emblem](http://tboy.co/emblem) +* [Marquee](http://tboy.co/marquee) = Documentation = * [Getting Started](http://tboy.co/installation) @@ -138,7 +140,7 @@ Feel free to share your suggestions with us so we can continue to develop awesom Developers can contribute via the [SportsPress GitHub Repository](https://github.com/ThemeBoy/SportsPress/blob/master/CONTRIBUTING.md). -Translators can contribute to SportsPress translations through [Transifex](https://www.transifex.com/projects/p/sportspress/). +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: @@ -221,23 +223,53 @@ Limitations? Don't worry, there are no limitations to the number of events, play The current modules that are available exclusively to SportsPress Pro are: * Tournaments: Create and display tournaments in a bracket/knockout cup format. +* 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. -* Birthdays: Display each player's birthday and their current age. * 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. -* Lazy Loading: Load players using Ajax to speed up the event edit screen. -There are [4 different licenses](http://tboy.co/pro) that you can choose from: Social, Club, League, and Agency. +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.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. + = 1.9.20 = * Tweak - Expand event title section for team logos in countdown widget. * Tweak - Center align team logo images in event. diff --git a/sportspress.php b/sportspress.php index 1f57d97b..33359f0c 100644 --- a/sportspress.php +++ b/sportspress.php @@ -3,11 +3,11 @@ * Plugin Name: SportsPress * Plugin URI: http://themeboy.com/sportspress/ * Description: Manage your club and its players, staff, events, league tables, and player lists. - * Version: 1.9.20 + * Version: 2.0 * Author: ThemeBoy * Author URI: http://themeboy.com * Requires at least: 3.8 - * Tested up to: 4.4 + * Tested up to: 4.5 * * Text Domain: sportspress * Domain Path: /languages/ @@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) : * Main SportsPress Class * * @class SportsPress - * @version 1.9.20 + * @version 2.0 */ final class SportsPress { /** * @var string */ - public $version = '1.9.20'; + public $version = '2.0'; /** * @var SportsPress The single instance of the class diff --git a/templates/countdown.php b/templates/countdown.php index e75881f1..c561dc71 100644 --- a/templates/countdown.php +++ b/templates/countdown.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-fixtures-results.php b/templates/event-fixtures-results.php index a1a8ce29..ddbdc0c7 100644 --- a/templates/event-fixtures-results.php +++ b/templates/event-fixtures-results.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.13 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-logos.php b/templates/event-logos.php index 0cd70eea..cb25459d 100644 --- a/templates/event-logos.php +++ b/templates/event-logos.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.12 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-performance-table.php b/templates/event-performance-table.php index f71aafdd..09a24f99 100644 --- a/templates/event-performance-table.php +++ b/templates/event-performance-table.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.19 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-performance.php b/templates/event-performance.php index b0be1e95..1b66d627 100644 --- a/templates/event-performance.php +++ b/templates/event-performance.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.19 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-results.php b/templates/event-results.php index 506aa27b..6fb39333 100644 --- a/templates/event-results.php +++ b/templates/event-results.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.8 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/player-details.php b/templates/player-details.php index 2f4955c6..dbd47fdf 100644 --- a/templates/player-details.php +++ b/templates/player-details.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/player-list.php b/templates/player-list.php index ccd41353..a0cac27d 100644 --- a/templates/player-list.php +++ b/templates/player-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.13 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/player-statistics.php b/templates/player-statistics.php index 46642989..bb630e0f 100644 --- a/templates/player-statistics.php +++ b/templates/player-statistics.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.7.4 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/staff-details.php b/templates/staff-details.php index af956b38..982a800a 100644 --- a/templates/staff-details.php +++ b/templates/staff-details.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.8.9 + * @version 2.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly