Dashboard section added to modules page
This commit is contained in:
@@ -34,6 +34,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
|||||||
'event' => __( 'Events', 'sportspress' ),
|
'event' => __( 'Events', 'sportspress' ),
|
||||||
'team' => __( 'Teams', 'sportspress' ),
|
'team' => __( 'Teams', 'sportspress' ),
|
||||||
'player_staff' => __( 'Players', 'sportspress' ) . ' & ' . __( 'Staff', 'sportspress' ),
|
'player_staff' => __( 'Players', 'sportspress' ) . ' & ' . __( 'Staff', 'sportspress' ),
|
||||||
|
'admin' => __( 'Dashboard', 'sportspress' ),
|
||||||
'other' => __( 'Other', 'sportspress' ),
|
'other' => __( 'Other', 'sportspress' ),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|||||||
@@ -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.8
|
* @version 1.8.3
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
@@ -78,12 +78,21 @@ class SP_Modules {
|
|||||||
'desc' => __( 'Organize and display staff in list and gallery layouts.', 'sportspress' ),
|
'desc' => __( 'Organize and display staff in list and gallery layouts.', 'sportspress' ),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'other' => array(
|
'admin' => array(
|
||||||
'tutorials' => array(
|
'tutorials' => array(
|
||||||
'label' => __( 'Tutorials', 'sportspress' ),
|
'label' => __( 'Tutorials', 'sportspress' ),
|
||||||
'icon' => 'dashicons dashicons-video-alt3',
|
'icon' => 'dashicons dashicons-video-alt3',
|
||||||
'desc' => __( 'Display a dashboard page with SportsPress video tutorials.', 'sportspress' ),
|
'desc' => __( 'Display a dashboard page with SportsPress video tutorials.', 'sportspress' ),
|
||||||
),
|
),
|
||||||
|
'branding' => array(
|
||||||
|
'label' => __( 'Branding', 'sportspress' ),
|
||||||
|
'class' => 'SportsPress_Branding',
|
||||||
|
'icon' => 'sp-icon-sportspress',
|
||||||
|
'link' => 'http://tboy.co/branding',
|
||||||
|
'desc' => __( 'Instantly rebrand the dashboard with your own logo and colors.', 'sportspress' ),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'other' => array(
|
||||||
'twitter' => array(
|
'twitter' => array(
|
||||||
'label' => __( 'Twitter', 'sportspress' ),
|
'label' => __( 'Twitter', 'sportspress' ),
|
||||||
'class' => 'SportsPress_Twitter',
|
'class' => 'SportsPress_Twitter',
|
||||||
@@ -93,13 +102,6 @@ class SP_Modules {
|
|||||||
'icon' => 'dashicons dashicons-twitter',
|
'icon' => 'dashicons dashicons-twitter',
|
||||||
'desc' => __( 'Add a Twitter feed to team, player, and staff pages.', 'sportspress' ),
|
'desc' => __( 'Add a Twitter feed to team, player, and staff pages.', 'sportspress' ),
|
||||||
),
|
),
|
||||||
'branding' => array(
|
|
||||||
'label' => __( 'Branding', 'sportspress' ),
|
|
||||||
'class' => 'SportsPress_Branding',
|
|
||||||
'icon' => 'sp-icon-sportspress',
|
|
||||||
'link' => 'http://tboy.co/branding',
|
|
||||||
'desc' => __( 'Instantly rebrand the dashboard with your own logo and colors.', 'sportspress' ),
|
|
||||||
),
|
|
||||||
'league_menu' => array(
|
'league_menu' => array(
|
||||||
'label' => __( 'League Menu', 'sportspress' ),
|
'label' => __( 'League Menu', 'sportspress' ),
|
||||||
'class' => 'SportsPress_League_Menu',
|
'class' => 'SportsPress_League_Menu',
|
||||||
|
|||||||
Reference in New Issue
Block a user