diff --git a/includes/admin/class-sp-admin-settings.php b/includes/admin/class-sp-admin-settings.php index 2bf45042..00dc42a5 100644 --- a/includes/admin/class-sp-admin-settings.php +++ b/includes/admin/class-sp-admin-settings.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.8.3 + * @version 1.8.7 */ 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 0f88386f..2e793a3f 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.8 + * @version 1.8.7 * @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 604e9d83..9bbe8efd 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.6.1 + * @version 1.8.7 * @package SportsPress/Admin * @category Class * @author ThemeBoy diff --git a/includes/admin/settings/class-sp-settings-events.php b/includes/admin/settings/class-sp-settings-events.php index 23396acc..5d5b3823 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.8 + * @version 1.8.7 */ 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 d07cd9ee..0e62afee 100644 --- a/includes/admin/settings/class-sp-settings-general.php +++ b/includes/admin/settings/class-sp-settings-general.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.8.5 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-modules.php b/includes/admin/settings/class-sp-settings-modules.php index 8f98ff87..2a162e32 100644 --- a/includes/admin/settings/class-sp-settings-modules.php +++ b/includes/admin/settings/class-sp-settings-modules.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.8.6 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly @@ -65,7 +65,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
@@ -182,9 +182,9 @@ class SP_Settings_Modules extends SP_Settings_Page {diff --git a/includes/class-sp-modules.php b/includes/class-sp-modules.php index adb06f7e..c18d6a25 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.8.6 + * @version 1.8.7 * @package SportsPress/Classes * @category Class * @author ThemeBoy @@ -33,14 +33,14 @@ class SP_Modules { 'label' => __( 'Match Stats', 'sportspress' ), 'class' => 'SportsPress_Match_Stats', 'icon' => 'sp-icon-statistics', - 'link' => 'http://tboy.co/stats', + 'link' => 'http://tboy.co/pro', 'desc' => __( 'Display head-to-head team comparison charts in events.', 'sportspress' ), ), 'tournaments' => array( 'label' => __( 'Tournaments', 'sportspress' ), 'class' => 'SportsPress_Tournaments', 'icon' => 'sp-icon-tournament', - 'link' => 'http://tboy.co/tournaments', + 'link' => 'http://tboy.co/pro', 'desc' => __( 'Schedule tournaments and create interactive playoff brackets.', 'sportspress' ), ), ), @@ -54,7 +54,7 @@ class SP_Modules { 'label' => __( 'Team Colors', 'sportspress' ), 'class' => 'SportsPress_Team_Colors', 'icon' => 'sp-icon-color', - 'link' => 'http://tboy.co/colors', + 'link' => 'http://tboy.co/pro', 'desc' => __( 'Create a custom color palette for each team.', 'sportspress' ), ), ), @@ -68,14 +68,14 @@ class SP_Modules { 'label' => __( 'Birthdays', 'sportspress' ), 'class' => 'SportsPress_Birthdays', 'icon' => 'sp-icon-cake', - 'link' => 'http://tboy.co/features', + 'link' => 'http://tboy.co/pro', 'desc' => __( "Display each player's birthday and their current age.", 'sportspress' ), ), 'staff_directories' => array( 'label' => __( 'Directories', 'sportspress' ), 'class' => 'SportsPress_Staff_Directories', 'icon' => 'sp-icon-archive', - 'link' => 'http://tboy.co/directories', + 'link' => 'http://tboy.co/pro', 'desc' => __( 'Organize and display staff in list and gallery layouts.', 'sportspress' ), ), ), @@ -89,16 +89,23 @@ class SP_Modules { 'label' => __( 'Branding', 'sportspress' ), 'class' => 'SportsPress_Branding', 'icon' => 'sp-icon-sportspress', - 'link' => 'http://tboy.co/branding', + 'link' => 'http://tboy.co/pro', 'desc' => __( 'Instantly rebrand the dashboard with your own logo and colors.', 'sportspress' ), ), + 'duplicator' => array( + 'label' => __( 'Duplicator', 'sportspress' ), + 'class' => 'SportsPress_Duplicator', + 'icon' => 'sp-icon-copy', + 'link' => 'http://tboy.co/pro', + 'desc' => __( 'Clone anything with just one click. Great for creating multiple events.', 'sportspress' ), + ), ), 'other' => array( 'twitter' => array( 'label' => __( 'Twitter', 'sportspress' ), 'class' => 'SportsPress_Twitter', 'action' => __( 'Tweet #SportsPress', 'sportspress' ), - 'link' => 'http://tboy.co/tweet', + 'link' => 'http://tboy.co/pro', 'tip' => __( 'Help spread the word by tweeting with #SportsPress and get the Twitter module for free.', 'sportspress' ), 'icon' => 'dashicons dashicons-twitter', 'desc' => __( 'Add a Twitter feed to team, player, and staff pages.', 'sportspress' ), @@ -107,18 +114,28 @@ class SP_Modules { 'label' => __( 'League Menu', 'sportspress' ), 'class' => 'SportsPress_League_Menu', 'icon' => 'sp-icon-menu', - 'link' => 'http://tboy.co/menu', + 'link' => 'http://tboy.co/pro', 'desc' => __( 'Add a global navigation bar to display logos that link to each team.', 'sportspress' ), ), 'sponsors' => array( 'label' => __( 'Sponsors', 'sportspress' ), 'class' => 'SportsPress_Sponsors', 'icon' => 'sp-icon-megaphone', - 'link' => 'http://tboy.co/sponsors', + 'link' => 'http://tboy.co/pro', 'desc' => __( 'Attract sponsors by offering them advertising space on your website.', 'sportspress' ), ), ), )); + + if ( is_multisite() ) { + $this->data['other']['multisite'] = array( + 'label' => __( 'Multisite', 'sportspress' ), + 'class' => 'SportsPress_Multisite', + 'icon' => 'sp-icon-globe', + 'link' => 'http://tboy.co/pro', + 'desc' => __( 'Manage multiple sports and display different widgets all on one site.', 'sportspress' ), + ); + } } public function __set( $key, $value ){ diff --git a/includes/sp-api-functions.php b/includes/sp-api-functions.php index f712bd79..7c1d0aba 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.7 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sp-formatting-functions.php b/includes/sp-formatting-functions.php index c5299152..4735164f 100644 --- a/includes/sp-formatting-functions.php +++ b/includes/sp-formatting-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 1.7 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/modules/sportspress-league-tables.php b/modules/sportspress-league-tables.php index 55539104..3d6f4554 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.3 +Version: 1.8.7 */ // Exit if accessed directly diff --git a/modules/sportspress-player-lists.php b/modules/sportspress-player-lists.php index b7c79c57..149533f0 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.8.3 +Version: 1.8.7 */ // Exit if accessed directly diff --git a/readme.txt b/readme.txt index e4290cca..5c126294 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtu Donate link: http://tboy.co/donate Requires at least: 3.8 Tested up to: 4.2.2 -Stable tag: 1.8.6 +Stable tag: 1.8.7 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -50,7 +50,7 @@ More details about each feature are available on the [SportsPress Website](http: = SportsPress Pro = -Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](http://tboy.co/pricing) to get access to more advanced features for your team, club, or league website. +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 ) @@ -99,6 +99,7 @@ Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](htt * Rugby League * Rugby Union * Snooker +* Softball * Squash * Table Tennis * Tennis @@ -219,12 +220,26 @@ The current modules that are available exclusively to SportsPress Pro are: * League Menu: Display a global navigation bar at the top of your website for easy navigation from one team to the next. * Branding: Instantly rebrands your admin panel to reflect your organization's brand. -There are [4 different licenses](http://tboy.co/pricing) that you can choose from (Social, Club, and League), each with a [specified set of modules](http://sportspresspro.com/features/). +There are [4 different licenses](http://tboy.co/pro) that you can choose from (Social, Club, and League), each with a [specified set of modules](http://tboy.co/pro). 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 == += 1.8.7 = +* Feature - Add custom table heading option to widgets. +* Feature - Add random sorting to player gallery. +* Feature - Add option to hide player list and league table titles. +* Feature - Add heading option to player positions. +* Tweak - Display Soccer (Association Football) as Football. +* Tweak - Flush permalinks automatically when saving modules. +* Tweak - Separate scrollable and responsive table options. +* Tweak - Display event performance icon tables in 2 columns. +* Fix - Duplicate league table captions in team page. +* Preset - Add softball preset. +* Localization - Add FollowCandyPanda to translation team. +* Localization - Update Polish, Spanish, German, Norwegian, Dutch, Finnish, Russian, Armenian, and Czech translations. + = 1.8.6 = * Tweak - Update modules page to reflect a change in offered features. * Fix - Team dropdowns disappearing when none found in the competition and season assigned to an event. diff --git a/sportspress.php b/sportspress.php index f086ad2b..ded511d9 100644 --- a/sportspress.php +++ b/sportspress.php @@ -3,7 +3,7 @@ * 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.8.6 + * Version: 1.8.7 * Author: ThemeBoy * Author URI: http://themeboy.com * Requires at least: 3.8 @@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) : * Main SportsPress Class * * @class SportsPress - * @version 1.8.6 + * @version 1.8.7 */ final class SportsPress { /** * @var string */ - public $version = '1.8.6'; + public $version = '1.8.7'; /** * @var SportsPress The single instance of the class @@ -138,7 +138,7 @@ final class SportsPress { return array_merge( array( '' . __( 'Settings', 'sportspress' ) . '', '' . __( 'Docs', 'sportspress' ) . '', - '' . __( 'Upgrade', 'sportspress' ) . '', + '' . __( 'Upgrade', 'sportspress' ) . '', ), $links ); } diff --git a/templates/countdown.php b/templates/countdown.php index db5912d5..692235c5 100644 --- a/templates/countdown.php +++ b/templates/countdown.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.8.2 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-calendar.php b/templates/event-calendar.php index 288e0d46..85fd0889 100644 --- a/templates/event-calendar.php +++ b/templates/event-calendar.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.8.2 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-list.php b/templates/event-list.php index d475cdf0..0618a7ba 100644 --- a/templates/event-list.php +++ b/templates/event-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.8.2 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-logos.php b/templates/event-logos.php index 5b795afd..b9cb4585 100644 --- a/templates/event-logos.php +++ b/templates/event-logos.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.6 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-performance.php b/templates/event-performance.php index 52ba7847..c47e84e2 100644 --- a/templates/event-performance.php +++ b/templates/event-performance.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.8 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-venue.php b/templates/event-venue.php index 51254de2..ce0ac767 100644 --- a/templates/event-venue.php +++ b/templates/event-venue.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.7 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/league-table.php b/templates/league-table.php index 460c8e4e..e45af1f2 100644 --- a/templates/league-table.php +++ b/templates/league-table.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.6 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/player-gallery.php b/templates/player-gallery.php index fdb51da3..ca253023 100644 --- a/templates/player-gallery.php +++ b/templates/player-gallery.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.5 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/player-list.php b/templates/player-list.php index 9fda51eb..6c721eea 100644 --- a/templates/player-list.php +++ b/templates/player-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.6 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/team-tables.php b/templates/team-tables.php index 042084e3..42a7898c 100644 --- a/templates/team-tables.php +++ b/templates/team-tables.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.3 + * @version 1.8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly