Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add font awesome to genesis theme
<?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
You can’t perform that action at this time.