name; $theme_slug = $theme->template; $theme_version = $theme->version; $theme_description = $theme->description; add_action( 'admin_enqueue_scripts', 'enqueue_scripts'); function enqueue_scripts( $hook ) { global $theme_name,$theme_slug; if ( "appearance_page_{$theme_slug}" !== $hook ) { return; } wp_enqueue_style( "{$theme_slug}-dashboard-style", get_template_directory_uri() . '/includes/dashboard/css/dashboard-style.css' ); } function beatrix_lite_register_design_page() { global $theme_name,$theme_slug; add_theme_page( $theme_name, 'Beatrix Lite', 'edit_theme_options', 'beatrix-lite', 'beatrix_lite_designs_page' ); } /** * Function to display Welcome page * * @package Beatrix Lite * @since 1.0 */ function beatrix_lite_designs_page() { global $theme_name,$theme_slug,$theme_version,$theme_description; $wpos_feed_tabs = beatrix_lite_help_tabs(); $active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'getting-started'; ?>