Created
May 9, 2018 13:29
-
-
Save stuartduff/4678d3d1e5ba219ceb6ababdb4680967 to your computer and use it in GitHub Desktop.
Add fontawesome 5 CSS to head area of WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function add_fontawesome5_to_head() { | |
echo '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/all.css" integrity="sha384-G0fIWCsCzJIMAVNQPfjH08cyYaUtMwjJwqiRKxxE/rx96Uroj1BtIQ6MLJuheaO9" crossorigin="anonymous">'; | |
} | |
add_action( 'wp_head', 'add_fontawesome5_to_head' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment