theme_name = $theme->get( 'Name' ); $this->theme_author_uri = $theme->get( 'AuthorURI' ); $this->theme_author_name = $theme->get( 'Author' ); $this->free_plugins = $admin_main_class->azure_news_free_plugins_lists(); } /** * Add admin menu. */ public function azure_news_admin_menu() { add_theme_page( sprintf( esc_html__( '%1$s Dashboard', 'azure-news' ), $this->theme_name ), sprintf( esc_html__( '%1$s Dashboard', 'azure-news' ), $this->theme_name ) , 'edit_theme_options', 'azure-news-dashboard', array( $this, 'azure_news_get_started_screen' ) ); } /** * Get started screen page. */ public function azure_news_get_started_screen() { $current_tab = empty( $_GET['tab'] ) ? 'azure_news_welcome' : sanitize_title( $_GET['tab'] ); // Look for a {$current_tab}_screen method. if ( is_callable( array( $this, $current_tab . '_screen' ) ) ) { return $this->{ $current_tab . '_screen' }(); } // Fallback to about screen. return $this->azure_news_welcome_screen(); } /** * Dashboard header * * @access private */ private function azure_news_dashboard_header() { ?>

theme_name ); ?>

%2$s', 'azure-news' ), $this->theme_author_uri, $this->theme_author_name ); ?>
azure_news_dashboard_header(); ?>
icon

%1$s.', 'azure-news' ), $this->theme_name ); ?>

icon

%1$s, and that is why we have gathered all the necessary information here for you. We hope you will enjoy using %1$s as much as we enjoy creating great products.', 'azure-news' ), $this->theme_name ); ?>

icon

theme_name ); ?>

|
azure_news_dashboard_sidebar(); ?>
__( 'Azure News', 'azure-news' ), 'theme_slug' => 'azure-news', 'preview_screen' => get_template_directory_uri(). '/screenshot.png', 'preview_url' => 'https://demo.codevibrant.com/azure-news/' ), array( 'name' => __( 'Azure RTL', 'azure-news' ), 'theme_slug' => 'azure-rtl', 'preview_screen' => 'https://codevibrant.com/demo-data/azure-news/azure-rtl/screenshot.jpg', 'preview_url' => 'https://demo.codevibrant.com/azure-rtl/' ), array( 'name' => __( 'Azure Pro', 'azure-news' ), 'theme_slug' => 'azure-pro', 'preview_screen' => 'https://codevibrant.com/demo-data/azure-news/azure-pro/screenshot.jpg', 'preview_url' => 'https://demo.codevibrant.com/azure-pro/' ), array( 'name' => __( 'Azure Pro News', 'azure-news' ), 'theme_slug' => 'azure-pro-news', 'preview_screen' => 'https://codevibrant.com/demo-data/azure-news/azure-pro-news/screenshot.jpg', 'preview_url' => 'https://demo.codevibrant.com/azure-pro-news/' ), array( 'name' => __( 'Azure Pro RTL', 'azure-news' ), 'theme_slug' => 'azure-pro-rtl', 'preview_screen' => 'https://codevibrant.com/demo-data/azure-news/azure-pro-rtl/screenshot.jpg', 'preview_url' => 'https://demo.codevibrant.com/azure-pro-rtl/' ) ) ?>
azure_news_dashboard_header(); ?>
"> azure_news_install_demo_import_plugin_popup(); ?>
azure_news_dashboard_header(); ?>

azure_news_dashboard_sidebar(); ?>
free_plugins; ?>
azure_news_dashboard_header(); ?>

$value ) { switch( $value['action'] ) { case 'install' : $btn_class = 'cv-plugin-action button'; $btn_action = 'install'; $label = esc_html__( 'Install and Activate', 'azure-news' ); break; case 'inactive' : $btn_class = 'cv-plugin-action button disabled'; $btn_action = ''; $label = esc_html__( 'Activated', 'azure-news' ); break; case 'active' : $btn_class = 'cv-plugin-action button button-primary'; $btn_action = 'activate'; $label = esc_html__( 'Activate', 'azure-news' ); break; } ?>
'; } ?>

azure_news_dashboard_sidebar(); ?>
get_changelog( get_template_directory() . '/changelog.txt' ); ?>
azure_news_dashboard_header(); ?>
    N'. esc_html( $note ) .''; } } // loop for improvement if ( ! empty( $log['imp'] ) ) { foreach( $log['imp'] as $note ) { echo '
  • I'. esc_html( $note ) .'
  • '; } } // loop for fixed if ( ! empty( $log['fix'] ) ) { foreach( $log['fix'] as $note ) { echo '
  • F'. esc_html( $note ) .'
  • '; } } // loop for tweak if ( ! empty( $log['tweak'] ) ) { foreach( $log['tweak'] as $note ) { echo '
  • T'. esc_html( $note ) .'
  • '; } } ?>
azure_news_dashboard_sidebar(); ?>