jQuery Plugin Problem
-
Topic
-
I’ve read about how to include js in the theme – thought I’d followed the directions, but the code i’m using has no effect. This is what is in my child them for Jump Start:
function my_scripts() { // Register child theme file before Jump Start to override wp_register_script( 'themeblvd_theme', get_stylesheet_directory_uri() . '/assets/js/theme.js', array('jquery') ); //Highslide - Coverflow wp_register_script( 'erdd_coverflow', get_stylesheet_directory_uri() . '/assets/js/highslide_erdd.js', array('jquery') ); wp_enqueue_script( 'erdd_coverflow' ); } add_action( 'wp_enqueue_scripts', 'my_scripts', 9 ); // Use any priority less than 10 to override Jump Start
Nothing happens. Why?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.