Documenting this:
Andrew and I emailed each other. He was able to figure this out
//in functions.php
add_action(‘wp_print_styles’, ‘ajt_dequeue_css_from_plugins’, 100);
function ajt_dequeue_css_from_plugins() {
wp_dequeue_style( ‘font-awesome’ );
}
My theme needs flexmlsIDX to either a) update their Font Awesome version to the latest or
b) add a setting to disable their included version.
I see you found a way to disable Font Awesome – not sure I quite understand what to do (yes wordpress newbie)
Thank you
Thread Starter
andrew
(@andrewjtalcott)
I contacted FlexMLS and they gave me new code to use, I think theya re supposed to fix this at some point, but they are good at responding and very helpful 🙂
asaznorth – The only ways to disable it at the moment is to have a programmer/developer either remove the call to include font awesome in the plugin file /lib/base.php
or you can add a similar code in my last comment to the functions.php WordPress file.
I found that code didn’t work, but that could be related to the version.
I’m currently running 4.0 and I fixed this issue by commenting out the following line in functions.php:
wp_enqueue_style( 'font-awesome-min' );
Just replace that line with:
//wp_enqueue_style( 'font-awesome-min' );
save the file and you’re good to go.
You may want to do the same to the line:
wp_enqueue_style( 'font-awesome-cdn' );
but that depends on what you’re after.
Hope that helps someone.