Skip to content

Instantly share code, notes, and snippets.

@carasmo
Created January 16, 2016 21:23
Show Gist options
  • Save carasmo/7f8a1e85ddad3d807598 to your computer and use it in GitHub Desktop.
Save carasmo/7f8a1e85ddad3d807598 to your computer and use it in GitHub Desktop.
// GOES IN functions.php file
/**
# ---------------------------------------------------------------------------------------
# load latest font awesome from cdn
# @since 1.0
# ---------------------------------------------------------------------------------------
**/
function latest_font_awesome() {
wp_enqueue_style( 'font-awesome-latest', '//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css' );
}
add_action('wp_enqueue_scripts', 'latest_font_awesome', 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment