Skip to content

Instantly share code, notes, and snippets.

@awakekat
Last active November 25, 2015 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awakekat/e6f01a0ac1f9ceff393b to your computer and use it in GitHub Desktop.
Save awakekat/e6f01a0ac1f9ceff393b to your computer and use it in GitHub Desktop.
Wordpress Enqueue Font-Awesome
/* 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