Dequeue scripts and styles
-
Hi,
I’m trying to minimise the amount of stylesheets and scripts being loaded by a site i’m working on. I’m already including FontAwesome in my theme and can easily include the CSS and JS that WP Menu Cart is inserting in my own, minimised LESS and JS files.
I’ve tried a number of things and added the following to my theme but it doesn’t work.
wp_dequeue_style( 'wpmenucart-icons' ); // FontAwesome wp_dequeue_style( 'wpmenucart' ); // Styles
Can you tell me what I need to do remove them?
Thanks for any help in advance,
Jack
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Dequeue scripts and styles’ is closed to new replies.