Skip to content

Instantly share code, notes, and snippets.

@3200creative
Created February 11, 2015 20:59
Show Gist options
  • Save 3200creative/82cf5cdaf665a86b3f07 to your computer and use it in GitHub Desktop.
Save 3200creative/82cf5cdaf665a86b3f07 to your computer and use it in GitHub Desktop.
Add Font Awesome
//* Enqueue scripts and styles
add_action( 'wp_enqueue_scripts', 'themename_enqueue_scripts_styles' );
function themename_enqueue_scripts_styles() {
wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' );
}
.content a.more-link:after, .pagelink:after, .more-from-category:after {
content: "\f0da";
font-family: "FontAwesome";
line-height: 1;
color: #a9d365;
padding: 0 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment