Hot To Add Font Awesome External CSS Stylesheet Sitewide

If you want to add Font Awesome’s external stylesheet to your head section sitewide in wordpress, add the following code to your child theme’s functions.php file…

function mazz_add_font_awesome() {
wp_enqueue_style( 'font-awesome', '' );
add_action( 'wp_enqueue_scripts', 'mazz_add_font_awesome' );

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.