Dequeueing/deregistering styles/scripts
-
Hello,
I’m trying to use Code Snippets to deregister/dequeue stylesheets and scripts in order to load my own.
However, I cannot get this function to work. Currently this is what I have set up:
wp_dequeue_style( 'fontawesome' ); wp_deregister_style( 'bootstrap' );
I’ve looked up the handles in the plugins to ensure they’re correct. For example:
wp_register_style('bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css', array(), '3.3.5');
But it isn’t working. Any help would be greatly appreciated!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dequeueing/deregistering styles/scripts’ is closed to new replies.