Created
May 20, 2014 12:23
-
-
Save soutar/76e169be081a4e04a5d5 to your computer and use it in GitHub Desktop.
Enqueue Font Awesome styles
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
<?php | |
function include_font_awesome() { | |
wp_enqueue_style('font_awesome', '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'); | |
} | |
/* When 'wp_enqueue_scripts' takes place, trigger this function */ | |
add_action('wp_enqueue_scripts', 'include_font_awesome', 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment