Created
January 13, 2016 12:43
-
-
Save anonymous/47b64ec444b2282167b6 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Proper way to enqueue scripts and styles | |
*/ | |
function ah_font_awesome_style() { | |
wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/font-awesome.min.css' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'ah_font_awesome_style' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment