Use 'local' Fontawesome instead of CDN?
-
Is it right, if I don’t want to use the CDN but rather a ‘local’ copy of Fontawesome, then I should dequeue styles, and then add my own stylesheet for including a ‘local’ Fontawesome?
function storm_dequeue_fontawesome(){ wp_dequeue_style( 'fontawesome' ); wp_dequeue_style( 'fontawesome-ie' ); } add_action( 'wp_print_scripts', 'storm_dequeue_fontawesome', 20 );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use 'local' Fontawesome instead of CDN?’ is closed to new replies.