Name ), sprintf( esc_html__('%s Theme', 'easyblog'), $theme_data->Name), 'edit_theme_options', 'easyblog', 'easyblog_theme_info_page'); } if ( ! function_exists( 'easyblog_admin_scripts' ) ) : /** * Enqueue scripts for admin page only: Theme info page */ function easyblog_admin_scripts( $hook ) { if ( $hook === 'widgets.php' || $hook === 'appearance_page_easyblog' ) { wp_enqueue_style('easyblog-admin-css', get_template_directory_uri() . '/css/admin.css'); } } endif; add_action('admin_enqueue_scripts', 'easyblog_admin_scripts'); function easyblog_theme_info_page() { $theme_data = wp_get_theme(); // Check for current viewing tab $tab = null; if ( isset( $_GET['tab'] ) ) { $tab = $_GET['tab']; } else { $tab = null; } ?>
'; printf( esc_html__( 'Hey, you will need to install and activate the %1$s plugin first.', 'easyblog' ), ''.esc_html__( 'FameThemes Demo Importer', 'easyblog' ).'' ); echo '
'; echo ''; ?>