customizer.js is not loaded
-
In customizer.php, notice the following code at the end of the file:
function wp_bootstrap_starter_customize_preview_js() { wp_enqueue_script( 'wp_bootstrap_starter_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true ); } add_action( 'customize_preview_init', 'wp_bootstrap_starter_customize_preview_js' );
The file customizer.js is currently in /inc/assets/js/customizer.js and not in /js/customizer.js, as written in this function. This is causing an error in the browsers console.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘customizer.js is not loaded’ is closed to new replies.