miriam-m
8/23/2016 - 7:12 AM

Add this the child funtions.php to disable scripts in the main theme. Replace script-name with the call-name of the script

Add this the child funtions.php to disable scripts in the main theme. Replace script-name with the call-name of the script

function remove_scripts()
{
wp_deregister_script('script-name1' );
wp_deregister_script('script-name2');
}
add_action( 'wp_enqueue_scripts', 'remove_scripts', 100 );