diff --git a/assets/admin/css/hu_admin.css b/assets/admin/css/hu_admin.css index 3e8aa8ba..d1f7e52a 100644 --- a/assets/admin/css/hu_admin.css +++ b/assets/admin/css/hu_admin.css @@ -218,7 +218,6 @@ a.czr-rating-link:hover { color: #f07829; font-weight: bold; text-decoration: none; - font-size: 16px; min-width: 80px; /* font-size: 19px; */ } diff --git a/functions/admin/class-admin-page.php b/functions/admin/class-admin-page.php index 5b25aae5..93151270 100644 --- a/functions/admin/class-admin-page.php +++ b/functions/admin/class-admin-page.php @@ -10,93 +10,17 @@ class HU_admin_page { function __construct () { self::$instance =& $this; - //add welcome page in menu - add_action( 'admin_menu' , array( $this , 'hu_add_welcome_page' )); - //build the support url //build the support url $this -> support_url = HU_IS_PRO ? esc_url( sprintf( '%ssupport' , 'presscustomizr.com/' ) ) : esc_url('wordpress.org/support/theme/hueman'); //fix #wpfooter absolute positioning in the welcome and about pages add_action( 'admin_print_styles' , array( $this, 'hu_fix_wp_footer_link_style') ); - } - /** - * Add fallback admin page. - * @package Hueman - * @since Hueman 1.1 - */ - function hu_add_welcome_page() { - $_name = __( 'About Hueman' , 'hueman' ); - $_name = HU_IS_PRO ? sprintf( '%s Pro', $_name ) : $_name; - - $theme_page = add_theme_page( - $_name, // Name of page - $_name, // Label in menu - 'edit_theme_options' , // Capability required - 'welcome.php' , // Menu slug, used to uniquely identify the page - array( $this , 'hu_welcome_panel' ) //function to be called to output the content of this page - ); + //add welcome page in menu + add_action( 'admin_menu' , array( $this , 'hu_add_welcome_page' )); } - /** - * Render welcome admin page. - * @package Hueman - * @since Hueman 3.0.4 - */ - function hu_welcome_panel() { - $_theme_name = HU_IS_PRO ? 'Hueman Pro' : 'Hueman'; - - ?> -