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; } ?>

Name, $theme_data->Version ); ?>

FameThemes
Theme Screenshot
'install-plugin', 'plugin' => $plugin_name ), network_admin_url( 'update.php' ) ), 'install-plugin_'.$plugin_name ); } else { $install_url = add_query_arg(array( 'action' => 'activate', 'plugin' => rawurlencode( $plugin_name . '/' . $plugin_name . '.php' ), 'plugin_status' => 'all', 'paged' => '1', '_wpnonce' => wp_create_nonce('activate-plugin_' . $plugin_name . '/' . $plugin_name . '.php'), ), network_admin_url('plugins.php')); $button_class = 'activate-now button-primary'; $button_txt = esc_html__( 'Active Now', 'easyblog' ); } $detail_link = add_query_arg( array( 'tab' => 'plugin-information', 'plugin' => $plugin_name, 'TB_iframe' => 'true', 'width' => '772', 'height' => '349', ), network_admin_url( 'plugin-install.php' ) ); echo '

'; 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 '

'.$button_txt.'

'; ?>