Skip to content

Instantly share code, notes, and snippets.

@crossreftech
Last active August 29, 2015 14:07
Show Gist options
  • Save crossreftech/99cea79d57cce2192795 to your computer and use it in GitHub Desktop.
Save crossreftech/99cea79d57cce2192795 to your computer and use it in GitHub Desktop.
Use Font Awesome With WordPress
<?php // Be sure not to add the opening php tag
function enqueue_font_awesome() {
wp_enqueue_style( 'icon-fonts', '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css', array(), CHILD_THEME_VERSION );
}
add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment