Skip to main content
SnippetsWordpress

Deregister FontAwesome 4 in Salient 10

By January 5, 2020April 11th, 2020No Comments

Encountered compatibility issue when trying to use FontAwesome 5 icons on Salient 10 running FontAwesome 4.

add_action( 'wp_enqueue_scripts', 'remove_font_awesome', 20 );
function remove_font_awesome() {
    wp_deregister_style( 'font-awesome' );
}

Contact us to learn more about Adopt the Web for your business

Author Jarod Thornton

More posts by Jarod Thornton