wp_enqueue_script stopped working

I’m not sure what the problem would be, but I’d start out by checking to see if they are actually getting enqueued. http://codex.wordpress.org/Function_Reference/wp_script_is That would at least let you know if you have a declaration problem of if there is something wrong when enqueued scripts are being drawn. (like a plugin conflict or some such)

How to offload CSS and JS files from wp-content/themes folder?

Are you using a child theme? Is get_template_directory_uri() function returning the correct URL? My suggestion is to use get_stylesheet_directory_uri() instead. wp_enqueue_style( ‘validationEngine.jquery’, get_stylesheet_directory_uri() . ‘/assets/css/validationEngine.jquery.css’, array(), false, ‘screen’ ); wp_enqueue_style( ‘main’, get_stylesheet_directory_uri() . ‘/assets/css/main.css’, array(), false, ‘screen’ );

Edit CSS of a plugin

If you want to dequeue an enqueued style you need to use the wp_dequeue_style() function with the handle of the style you want to remove. The handle is the first argument of wp_register_style() and wp_enqueue_style(). In your case that’s stripe_styles. So if you want to deregister and dequeue it: wp_dequeue_style( ‘stripe_styles’ ); wp_deregister_style( ‘stripe_styles’ ); … Read more