Can you share a link to your website?
Thanks,
so, in your child-theme functions.php put this:
// don't load visual slide box plugin bootstrap js
add_action('wp_print_scripts', 'remove_bootstrap_js');
function remove_bootstrap_js(){
wp_dequeue_script('bootstrap_js');
}
The problem is that both customizr and that plugin use the same bootstrap js , but customizr makes some things on the menu (when dropdown on click selected) to make it work better in mobiles ..
Also customizr embeds that js so you don’t need the plugin’s one,
With the code above we prevent the plugin’s one loading.
Hope this helps.
That worked! Thanks so much d4z_c0nf!
Glad it worked!
You’re welcome 😉
I had to nest it inside of a conditional if statement to get the admin piece to work correctly
// don't load visual slide box plugin bootstrap js
function remove_bootstrap_js(){
wp_dequeue_script('bootstrap_js');
}
if ( ! is_admin() ) {
add_action('wp_print_scripts', 'remove_bootstrap_js');
}
Hi,
thanks for sharing the solution 😀