Created
December 27, 2015 03:36
-
-
Save SriniBlog/b86ffcaa41ef2fcd8dae to your computer and use it in GitHub Desktop.
This code snippet is used to include the IonIcon fonts in the wordpress using 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
// Include the below code in functions.php | |
//* Enqueue ionicons | |
add_action( 'wp_enqueue_scripts', 'genesis_ionicons_css' ); | |
function genesis_ionicons_css() { | |
wp_enqueue_style( 'bg-ionicons-css', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css?ver=1.0.1', array(), CHILD_THEME_VERSION ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment