Created
February 11, 2015 20:59
-
-
Save 3200creative/82cf5cdaf665a86b3f07 to your computer and use it in GitHub Desktop.
Add Font Awesome
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
//* 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' ); | |
} |
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
.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