Version; wp_enqueue_script('skt_fancybox_mousewheel_slide', get_template_directory_uri().'/js/jquery.mousewheel-3.0.4.pack.js',array('jquery'),'1.0' ); wp_enqueue_script('skt_fancybox_slide', get_template_directory_uri().'/js/jquery.fancybox-1.3.4.pack.js',array('jquery'),'1.0' ); wp_enqueue_script('skt_ddsmoothmenusimple_slide', get_template_directory_uri().'/js/ddsmoothmenu.js',array('jquery'),'1.0' ); wp_register_style( 'skt-style', get_stylesheet_uri(), false, $skt_version ); wp_enqueue_style( 'skt-style' ); wp_register_style( 'skt-theme-stylesheet', get_template_directory_uri().'/SketchBoard/css/skt-theme-stylesheet.css', false, $theme->Version ); wp_enqueue_style( 'skt-theme-stylesheet' ); wp_register_style( 'flexslider-stylesheet', get_template_directory_uri().'/css/flexslider.css', false, $theme->Version ); wp_enqueue_style( 'flexslider-stylesheet' ); wp_register_style( 'flexslider-demo-stylesheet', get_template_directory_uri().'/css/demo.css', false, $theme->Version ); wp_enqueue_style( 'flexslider-demo-stylesheet' ); wp_register_style( 'fancybox-demo-stylesheet', get_template_directory_uri().'/css/jquery.fancybox-1.3.4.css', false, $theme->Version ); wp_enqueue_style( 'fancybox-demo-stylesheet' ); wp_register_style( 'jcarousel-stylesheet', get_template_directory_uri().'/css/jcarousel.css', false, $theme->Version ); wp_enqueue_style( 'jcarousel-stylesheet' ); wp_register_style( 'responsive-css', get_template_directory_uri().'/css/960_24_col_responsive.css', false, $theme->Version ); wp_enqueue_style( 'responsive-css' ); /*-- Google Fonts --*/ wp_register_style( 'googleFontsTangerine','http://fonts.googleapis.com/css?family=Tangerine:400,700', false, $theme->Version); wp_enqueue_style( 'googleFontsTangerine' ); wp_register_style( 'googleFontsABeeZee','http://fonts.googleapis.com/css?family=ABeeZee|Alice|Artifika|Bitter', false, $theme->Version); wp_enqueue_style( 'googleFontsABeeZee' ); } } add_action('wp_enqueue_scripts', 'skt_theme_stylesheet'); function skt_head(){ global $shortname; $skt_favicon = ""; $skt_meta = ''."\n"; if(sketch_get_option($shortname.'_favicon')){ $skt_favicon = sketch_get_option($shortname.'_favicon','bizstudio'); $skt_meta .= "\n"; } echo $skt_meta; } add_action('wp_head', 'skt_head'); //enqueue footer script function skt_footer_script() { global $shortname; if(!is_admin()) { require_once(get_template_directory().'/js/flexslider-slider-config.php'); } } add_action('wp_footer', 'skt_footer_script');