Created
September 13, 2017 15:06
-
-
Save studiopress/a2d0878b3326089801ba05194aca1e3c to your computer and use it in GitHub Desktop.
Enqueue Ionicons on your site with the 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 | |
//* Do NOT include the opening php tag | |
// Enqueue Ionicons. | |
add_action( 'wp_enqueue_scripts', 'sp_enqueue_ionicons' ); | |
function sp_enqueue_ionicons() { | |
wp_enqueue_style( 'ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment