upgrade/upgrade.php
/**
 * Enqueue admin stylesheet only on upgrade page.
 */
Enqueue admin stylesheet only on upgrade page.
Enqueue admin stylesheet only on upgrade page .
function vogue_load_upgrade_page_scripts() {
    global $pagenow;
	if ( $pagenow == 'themes.php' ) {
		wp_enqueue_style( 'vogue-upgrade-css', get_template_directory_uri() . '/upgrade/css/upgrade-admin.css' );
	    wp_enqueue_script( 'caroufredsel', get_template_directory_uri() . '/js/jquery.carouFredSel-6.2.1-packed.js', array( 'jquery' ), VOGUE_THEME_VERSION, true );
	    wp_enqueue_script( 'vogue-upgrade-js', get_template_directory_uri() . '/upgrade/js/upgrade-custom.js', array( 'jquery' ), VOGUE_THEME_VERSION, true );
	}
}
function vogue_load_upgrade_page_scripts ( ) { global $ pagenow ; if ( $ pagenow == 'themes.php' ) { wp_enqueue_style ( 'vogue-upgrade-css' , get_template_directory_uri ( ) . '/upgrade/css/upgrade-admin.css' ) ; wp_enqueue_script ( 'caroufredsel' , get_template_directory_uri ( ) . '/js/jquery.carouFredSel-6.2.1-packed.js' , array ( 'jquery' ) , VOGUE_THEME_VERSION , true ) ; wp_enqueue_script ( 'vogue-upgrade-js' , get_template_directory_uri ( ) . '/upgrade/js/upgrade-custom.js' , array ( 'jquery' ) , VOGUE_THEME_VERSION , true ) ; } }
Enqueue admin stylesheet only on upgrade page.
Enqueue admin stylesheet only on upgrade page .