Last active
November 25, 2015 17:28
-
-
Save awakekat/e6f01a0ac1f9ceff393b to your computer and use it in GitHub Desktop.
Wordpress Enqueue Font-Awesome
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
/* Enqueue css | |
/* ------------------------------------ */ | |
function fa_styles() | |
{ | |
wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/fonts/font-awesome.min.css' ); | |
wp_enqueue_style( 'style', get_stylesheet_uri() ); | |
} | |
add_action( 'wp_enqueue_scripts', 'fa_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment