Hi @lioneleric,
It’s always possible to dequeue it. May I ask what is the goal?
Because you can use images as icons for the left/right menus.
Sure. I use images as icons, so I don’t really need your fonts.
And, as I try to make my website faster, I checked that it would help a lot.
By the way you made a great plugin 🙂
thanks. Not sure if you are already using the latest 2.6.1 where we did a massive improvement on the icons fonts file size.
I know that every kb counts so try this code to dequeue the plugin icons.
Add the code below to the functions.php of your child theme.
function wpmobmenu_dequeue_script() {
wp_dequeue_script( 'cssmobmenu-icons' );
}
add_action( 'wp_print_scripts', 'wpmobmenu_dequeue_script', 100 );
Let me know if it worked.
Thanks, but not working.
But don’t worry, effectively you font has a very small footprint.
I can keep it.
If I may suggest, it would be nice to be able to use Font Awesome icons.
Thanks again for this great plugin
Sorry, it should have been wp_print_styles
instead wp_print_scritps
If you want to try again.
function wpmobmenu_dequeue_script() {
wp_dequeue_script( 'cssmobmenu-icons' );
}
add_action( 'wp_print_styles', 'wpmobmenu_dequeue_script', 100 );