diff --git a/includes/admin/class-sp-admin-settings.php b/includes/admin/class-sp-admin-settings.php index 2bf45042c..00dc42a58 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 0f88386f9..2e793a3f5 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 604e9d83b..9bbe8efd0 100644 --- a/includes/admin/class-sp-admin-taxonomies.php +++ b/includes/admin/class-sp-admin-taxonomies.php @@ -7,7 +7,7 @@ * 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 23396acca..5d5b38230 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 d07cd9ee9..0e62afee7 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 8f98ff87e..2a162e32f 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 @@ public function output() {
@@ -182,9 +182,9 @@ public function output() {diff --git a/includes/class-sp-modules.php b/includes/class-sp-modules.php index adb06f7e4..c18d6a255 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 @@ public function __construct() { '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 @@ public function __construct() { '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 @@ public function __construct() { '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 @@ public function __construct() { '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 @@ public function __construct() { '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 f712bd798..7c1d0aba2 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 c52991528..4735164f1 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 55539104d..3d6f45545 100644 --- a/modules/sportspress-league-tables.php +++ b/modules/sportspress-league-tables.php @@ -5,7 +5,7 @@ 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 b7c79c573..149533f0b 100644 --- a/modules/sportspress-player-lists.php +++ b/modules/sportspress-player-lists.php @@ -5,7 +5,7 @@ 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 e4290ccaf..5c1262947 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 f086ad2bf..ded511d9d 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 @@ * 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 @@ public function action_links( $links ) { return array_merge( array( '' . __( 'Settings', 'sportspress' ) . '', '' . __( 'Docs', 'sportspress' ) . '', - '' . __( 'Upgrade', 'sportspress' ) . '', + '' . __( 'Upgrade', 'sportspress' ) . '', ), $links ); } diff --git a/templates/countdown.php b/templates/countdown.php index db5912d5b..692235c5d 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 288e0d469..85fd08891 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 d475cdf08..0618a7ba3 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 5b795afdd..b9cb4585f 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 52ba78479..c47e84e25 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 51254de23..ce0ac7679 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 460c8e4ee..e45af1f2e 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 fdb51da39..ca2530233 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 9fda51ebc..6c721eea2 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 042084e31..42a7898c2 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