Last active
May 24, 2016 12:02
-
-
Save frankschrijvers/3537f8474e78dc510099fb3535678a56 to your computer and use it in GitHub Desktop.
Add font awesome to genesis theme
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Required Fonts | |
add_action( 'wp_enqueue_scripts', 'wps_load_font_awesome' ); | |
function wps_load_font_awesome() { | |
wp_enqueue_style( 'fontawesome', '//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css', array(), '4.6.1' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment