name; $theme_slug = $theme->template; $theme_version = $theme->version; $theme_description = $theme->description; add_action( 'admin_enqueue_scripts', 'advik_blog_lite_enqueue_scripts'); function advik_blog_lite_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 advik_blog_lite_register_design_page() { global $theme_name,$theme_slug; add_theme_page( $theme_name, __('Advik Blog Lite', 'advik-blog-lite'), 'edit_theme_options', 'advik-blog-lite', 'advik_blog_lite_designs_page' ); } /** * Function to display Welcome page * * @package Advik Blog Lite * @since 1.0 */ function advik_blog_lite_designs_page() { global $theme_name,$theme_slug,$theme_version,$theme_description; $wpos_feed_tabs = advik_blog_lite_help_tabs(); $active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'getting-started'; ?>
array( 'name' => __('Getting Started', 'advik-blog-lite'), ), 'support' => array( 'name' => __('Support', 'advik-blog-lite'), ) ); return $wpos_feed_tabs; } /** * Function to Display getting started tab * * @package Advik Blog Lite * @since 1.0 */ function advik_blog_lite_getting_started_page() { ?>