stuart-d
5/9/2018 - 1:29 PM

Add fontawesome 5 CSS to head area of WordPress

Add fontawesome 5 CSS to head area of WordPress

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' );