enqueue script issue
-
I have this in my head:
add_action('wp_head', 'add_scripts'); wp_head();and in functions I have this
function add_scripts() { wp_register_script('superfish', get_bloginfo('template_directory').'/js/superfish.js', array('jquery')); wp_register_script('slideshow', get_bloginfo('template_directory').'/js/jquery.cycle.lite.min.js', array('jquery')); wp_enqueue_script('my_scripts', get_bloginfo('template_directory').'/js/js.js', array('jquery', 'superfish', 'slideshow')); }But my scripts won’t print? please help
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘enqueue script issue’ is closed to new replies.