Tag version 2.0
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.6
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress admin sports class stores preset sport data.
|
* The SportsPress admin sports class stores preset sport data.
|
||||||
*
|
*
|
||||||
* @class SP_Admin_Sports
|
* @class SP_Admin_Sports
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||||||
* Handles taxonomies in admin
|
* Handles taxonomies in admin
|
||||||
*
|
*
|
||||||
* @class SP_Admin_Taxonomies
|
* @class SP_Admin_Taxonomies
|
||||||
* @version 1.9.7
|
* @version 2.0
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.9.6
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.6
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.9.7
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.0
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -98,14 +98,17 @@ class SP_Settings_General extends SP_Settings_Page {
|
|||||||
));
|
));
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
$options = array_merge( $options, array(
|
$options = array_merge( $options,
|
||||||
|
array(
|
||||||
array(
|
array(
|
||||||
'title' => __( 'Custom CSS', 'sportspress' ),
|
'title' => __( 'Custom CSS', 'sportspress' ),
|
||||||
'id' => 'sportspress_custom_css',
|
'id' => 'sportspress_custom_css',
|
||||||
'css' => 'width:100%; height: 130px;',
|
'css' => 'width:100%; height: 130px;',
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
|
||||||
|
apply_filters( 'sportspress_general_script_options', array(
|
||||||
array(
|
array(
|
||||||
'title' => __( 'Scripts', 'sportspress' ),
|
'title' => __( 'Scripts', 'sportspress' ),
|
||||||
'desc' => __( 'Live countdowns', 'sportspress' ),
|
'desc' => __( 'Live countdowns', 'sportspress' ),
|
||||||
@@ -124,7 +127,9 @@ class SP_Settings_General extends SP_Settings_Page {
|
|||||||
'checkboxgroup' => 'end',
|
'checkboxgroup' => 'end',
|
||||||
'desc_tip' => __( 'This will enable a shortcode menu to be displayed in the visual editor.', 'sportspress' ),
|
'desc_tip' => __( 'This will enable a shortcode menu to be displayed in the visual editor.', 'sportspress' ),
|
||||||
),
|
),
|
||||||
|
) ),
|
||||||
|
|
||||||
|
array(
|
||||||
array(
|
array(
|
||||||
'title' => __( 'Tables', 'sportspress' ),
|
'title' => __( 'Tables', 'sportspress' ),
|
||||||
'desc' => __( 'Responsive', 'sportspress' ),
|
'desc' => __( 'Responsive', 'sportspress' ),
|
||||||
@@ -158,7 +163,7 @@ class SP_Settings_General extends SP_Settings_Page {
|
|||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
'desc_tip' => __( 'Hide widget when same as content.', 'sportspress' ),
|
'desc_tip' => __( 'Hide widget when same as content.', 'sportspress' ),
|
||||||
),
|
),
|
||||||
));
|
) );
|
||||||
|
|
||||||
if ( apply_filters( 'sportspress_enable_header', false ) ) {
|
if ( apply_filters( 'sportspress_enable_header', false ) ) {
|
||||||
$options[] = array(
|
$options[] = array(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 0.7
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress REST API class handles all API-related hooks.
|
* The SportsPress REST API class handles all API-related hooks.
|
||||||
*
|
*
|
||||||
* @class SP_REST_API
|
* @class SP_REST_API
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package SportsPress/API
|
* @package SportsPress/API
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|||||||
* AJAX Event Handler
|
* AJAX Event Handler
|
||||||
*
|
*
|
||||||
* @class SP_AJAX
|
* @class SP_AJAX
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress event class handles individual event data.
|
* The SportsPress event class handles individual event data.
|
||||||
*
|
*
|
||||||
* @class SP_Event
|
* @class SP_Event
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Handle frontend forms
|
* Handle frontend forms
|
||||||
*
|
*
|
||||||
* @class SP_Frontend_Scripts
|
* @class SP_Frontend_Scripts
|
||||||
* @version 1.9.17
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress league table class handles individual league table data.
|
* The SportsPress league table class handles individual league table data.
|
||||||
*
|
*
|
||||||
* @class SP_League_Table
|
* @class SP_League_Table
|
||||||
* @version 1.9.8
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress modules class stores available modules.
|
* The SportsPress modules class stores available modules.
|
||||||
*
|
*
|
||||||
* @class SP_Modules
|
* @class SP_Modules
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress player list class handles individual player list data.
|
* The SportsPress player list class handles individual player list data.
|
||||||
*
|
*
|
||||||
* @class SP_Player_List
|
* @class SP_Player_List
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress player class handles individual player data.
|
* The SportsPress player class handles individual player data.
|
||||||
*
|
*
|
||||||
* @class SP_Player
|
* @class SP_Player
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||||||
* Registers post types and taxonomies
|
* Registers post types and taxonomies
|
||||||
*
|
*
|
||||||
* @class SP_Post_types
|
* @class SP_Post_types
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress team class handles individual team data.
|
* The SportsPress team class handles individual team data.
|
||||||
*
|
*
|
||||||
* @class SP_Team
|
* @class SP_Team
|
||||||
* @version 1.9.14
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Template Loader
|
* Template Loader
|
||||||
*
|
*
|
||||||
* @class SP_Template_Loader
|
* @class SP_Template_Loader
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Core
|
* @category Core
|
||||||
* @package SportsPress/Functions
|
* @package SportsPress/Functions
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Core
|
* @category Core
|
||||||
* @package SportsPress/Functions
|
* @package SportsPress/Functions
|
||||||
* @version 1.6
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Core
|
* @category Core
|
||||||
* @package SportsPress/Functions
|
* @package SportsPress/Functions
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Core
|
* @category Core
|
||||||
* @package SportsPress/Functions
|
* @package SportsPress/Functions
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|||||||
Description: Add event calendars to SportsPress.
|
Description: Add event calendars to SportsPress.
|
||||||
Author: ThemeBoy
|
Author: ThemeBoy
|
||||||
Author URI: http://themeboy.com/
|
Author URI: http://themeboy.com/
|
||||||
Version: 1.8.3
|
Version: 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Exit if accessed directly
|
// Exit if accessed directly
|
||||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) :
|
|||||||
* Main SportsPress Calendars Class
|
* Main SportsPress Calendars Class
|
||||||
*
|
*
|
||||||
* @class SportsPress_Calendars
|
* @class SportsPress_Calendars
|
||||||
* @version 1.8.3
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
class SportsPress_Calendars {
|
class SportsPress_Calendars {
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ class SportsPress_Calendars {
|
|||||||
*/
|
*/
|
||||||
private function define_constants() {
|
private function define_constants() {
|
||||||
if ( !defined( 'SP_CALENDARS_VERSION' ) )
|
if ( !defined( 'SP_CALENDARS_VERSION' ) )
|
||||||
define( 'SP_CALENDARS_VERSION', '1.8.3' );
|
define( 'SP_CALENDARS_VERSION', '2.0' );
|
||||||
|
|
||||||
if ( !defined( 'SP_CALENDARS_URL' ) )
|
if ( !defined( 'SP_CALENDARS_URL' ) )
|
||||||
define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );
|
define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|||||||
Description: Add countdown widgets to SportsPress.
|
Description: Add countdown widgets to SportsPress.
|
||||||
Author: ThemeBoy
|
Author: ThemeBoy
|
||||||
Author URI: http://themeboy.com/
|
Author URI: http://themeboy.com/
|
||||||
Version: 1.8.3
|
Version: 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Exit if accessed directly
|
// Exit if accessed directly
|
||||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Countdowns' ) ) :
|
|||||||
* Main SportsPress Countdowns Class
|
* Main SportsPress Countdowns Class
|
||||||
*
|
*
|
||||||
* @class SportsPress_Countdowns
|
* @class SportsPress_Countdowns
|
||||||
* @version 1.8.3
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
class SportsPress_Countdowns {
|
class SportsPress_Countdowns {
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ class SportsPress_Countdowns {
|
|||||||
*/
|
*/
|
||||||
private function define_constants() {
|
private function define_constants() {
|
||||||
if ( !defined( 'SP_COUNTDOWNS_VERSION' ) )
|
if ( !defined( 'SP_COUNTDOWNS_VERSION' ) )
|
||||||
define( 'SP_COUNTDOWNS_VERSION', '1.8.3' );
|
define( 'SP_COUNTDOWNS_VERSION', '2.0' );
|
||||||
|
|
||||||
if ( !defined( 'SP_COUNTDOWNS_URL' ) )
|
if ( !defined( 'SP_COUNTDOWNS_URL' ) )
|
||||||
define( 'SP_COUNTDOWNS_URL', plugin_dir_url( __FILE__ ) );
|
define( 'SP_COUNTDOWNS_URL', plugin_dir_url( __FILE__ ) );
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|||||||
Description: Add league tables to SportsPress.
|
Description: Add league tables to SportsPress.
|
||||||
Author: ThemeBoy
|
Author: ThemeBoy
|
||||||
Author URI: http://themeboy.com/
|
Author URI: http://themeboy.com/
|
||||||
Version: 1.8.7
|
Version: 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Exit if accessed directly
|
// Exit if accessed directly
|
||||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_League_Tables' ) ) :
|
|||||||
* Main SportsPress League Tables Class
|
* Main SportsPress League Tables Class
|
||||||
*
|
*
|
||||||
* @class SportsPress_League_Tables
|
* @class SportsPress_League_Tables
|
||||||
* @version 1.8.3
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
class SportsPress_League_Tables {
|
class SportsPress_League_Tables {
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ class SportsPress_League_Tables {
|
|||||||
*/
|
*/
|
||||||
private function define_constants() {
|
private function define_constants() {
|
||||||
if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) )
|
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' ) )
|
if ( !defined( 'SP_LEAGUE_TABLES_URL' ) )
|
||||||
define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) );
|
define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) );
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|||||||
Description: Add player lists to SportsPress.
|
Description: Add player lists to SportsPress.
|
||||||
Author: ThemeBoy
|
Author: ThemeBoy
|
||||||
Author URI: http://themeboy.com/
|
Author URI: http://themeboy.com/
|
||||||
Version: 1.9.17
|
Version: 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Exit if accessed directly
|
// Exit if accessed directly
|
||||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Player_Lists' ) ) :
|
|||||||
* Main SportsPress Player Lists Class
|
* Main SportsPress Player Lists Class
|
||||||
*
|
*
|
||||||
* @class SportsPress_Player_Lists
|
* @class SportsPress_Player_Lists
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
class SportsPress_Player_Lists {
|
class SportsPress_Player_Lists {
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ class SportsPress_Player_Lists {
|
|||||||
*/
|
*/
|
||||||
private function define_constants() {
|
private function define_constants() {
|
||||||
if ( !defined( 'SP_PLAYER_LISTS_VERSION' ) )
|
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' ) )
|
if ( !defined( 'SP_PLAYER_LISTS_URL' ) )
|
||||||
define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) );
|
define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) );
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|||||||
Description: Display SportsPress video tutorials.
|
Description: Display SportsPress video tutorials.
|
||||||
Author: ThemeBoy
|
Author: ThemeBoy
|
||||||
Author URI: http://themeboy.com/
|
Author URI: http://themeboy.com/
|
||||||
Version: 1.9.6
|
Version: 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Exit if accessed directly
|
// Exit if accessed directly
|
||||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Tutorials' ) ) :
|
|||||||
* Main SportsPress Tutorials Class
|
* Main SportsPress Tutorials Class
|
||||||
*
|
*
|
||||||
* @class SportsPress_Tutorials
|
* @class SportsPress_Tutorials
|
||||||
* @version 1.9.6
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
class SportsPress_Tutorials {
|
class SportsPress_Tutorials {
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ class SportsPress_Tutorials {
|
|||||||
*/
|
*/
|
||||||
private function define_constants() {
|
private function define_constants() {
|
||||||
if ( !defined( 'SP_TUTORIALS_VERSION' ) )
|
if ( !defined( 'SP_TUTORIALS_VERSION' ) )
|
||||||
define( 'SP_TUTORIALS_VERSION', '1.9.6' );
|
define( 'SP_TUTORIALS_VERSION', '2.0' );
|
||||||
|
|
||||||
if ( !defined( 'SP_TUTORIALS_URL' ) )
|
if ( !defined( 'SP_TUTORIALS_URL' ) )
|
||||||
define( 'SP_TUTORIALS_URL', plugin_dir_url( __FILE__ ) );
|
define( 'SP_TUTORIALS_URL', plugin_dir_url( __FILE__ ) );
|
||||||
|
|||||||
44
readme.txt
44
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
|
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
|
Donate link: http://tboy.co/donate
|
||||||
Requires at least: 3.8
|
Requires at least: 3.8
|
||||||
Tested up to: 4.4
|
Tested up to: 4.5
|
||||||
Stable tag: 1.9.20
|
Stable tag: 2.0
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
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).
|
More details about each feature are available on the [SportsPress Website](http://tboy.co/pro).
|
||||||
|
|
||||||
= Free Extensions =
|
= Free Extensions =
|
||||||
|
* [SportsPress for Baseball](https://wordpress.org/plugins/sportspress-for-baseball/)
|
||||||
* [SportsPress for Cricket](https://wordpress.org/plugins/sportspress-for-cricket/)
|
* [SportsPress for Cricket](https://wordpress.org/plugins/sportspress-for-cricket/)
|
||||||
* [SportsPress for Football (Soccer)](https://wordpress.org/plugins/sportspress-for-soccer/)
|
* [SportsPress for Football (Soccer)](https://wordpress.org/plugins/sportspress-for-soccer/)
|
||||||
* [SportsPress for Golf](https://wordpress.org/plugins/sportspress-for-golf/)
|
* [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)
|
* [Football Club](http://tboy.co/fc)
|
||||||
* [Premier](http://tboy.co/premier)
|
* [Premier](http://tboy.co/premier)
|
||||||
* [Emblem](http://tboy.co/emblem)
|
* [Emblem](http://tboy.co/emblem)
|
||||||
|
* [Marquee](http://tboy.co/marquee)
|
||||||
|
|
||||||
= Documentation =
|
= Documentation =
|
||||||
* [Getting Started](http://tboy.co/installation)
|
* [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).
|
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 =
|
= Stay Current =
|
||||||
To keep up with the latest updates and new features, be sure to do the following:
|
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:
|
The current modules that are available exclusively to SportsPress Pro are:
|
||||||
|
|
||||||
* Tournaments: Create and display tournaments in a bracket/knockout cup format.
|
* 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.
|
* 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.
|
* 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 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.
|
* 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.
|
* 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.
|
* Twitter: Add a Twitter feed to team, player, and staff pages.
|
||||||
* Branding: Instantly rebrands your admin panel to reflect your organization's brand.
|
* Branding: Instantly rebrands your admin panel to reflect your organization's brand.
|
||||||
* Duplicator: Clone anything with just one click. Great for creating multiple events.
|
* 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.
|
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 ==
|
== 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 =
|
= 1.9.20 =
|
||||||
* Tweak - Expand event title section for team logos in countdown widget.
|
* Tweak - Expand event title section for team logos in countdown widget.
|
||||||
* Tweak - Center align team logo images in event.
|
* Tweak - Center align team logo images in event.
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
* Plugin Name: SportsPress
|
* Plugin Name: SportsPress
|
||||||
* Plugin URI: http://themeboy.com/sportspress/
|
* Plugin URI: http://themeboy.com/sportspress/
|
||||||
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
||||||
* Version: 1.9.20
|
* Version: 2.0
|
||||||
* Author: ThemeBoy
|
* Author: ThemeBoy
|
||||||
* Author URI: http://themeboy.com
|
* Author URI: http://themeboy.com
|
||||||
* Requires at least: 3.8
|
* Requires at least: 3.8
|
||||||
* Tested up to: 4.4
|
* Tested up to: 4.5
|
||||||
*
|
*
|
||||||
* Text Domain: sportspress
|
* Text Domain: sportspress
|
||||||
* Domain Path: /languages/
|
* Domain Path: /languages/
|
||||||
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
|
|||||||
* Main SportsPress Class
|
* Main SportsPress Class
|
||||||
*
|
*
|
||||||
* @class SportsPress
|
* @class SportsPress
|
||||||
* @version 1.9.20
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
final class SportsPress {
|
final class SportsPress {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $version = '1.9.20';
|
public $version = '2.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var SportsPress The single instance of the class
|
* @var SportsPress The single instance of the class
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.9.12
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.9.19
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.8
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.9.13
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.7.4
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.8.9
|
* @version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|||||||
Reference in New Issue
Block a user