Created
January 5, 2014 16:08
-
-
Save wpspeak/8270050 to your computer and use it in GitHub Desktop.
Enqueue Genericons icon font in Genesis Framework
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
<?php | |
//* Enqueue Genericons icon font in Genesis Framework | |
add_action( 'wp_enqueue_scripts', 'afn_enqueue_genericons' ); | |
function afn_enqueue_genericons() { | |
if ( !is_admin() ) { | |
wp_enqueue_style( 'afn-genericons', get_bloginfo( 'stylesheet_directory' ) . '/fonts/genericons.css', array(), '3.0.2' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment