Last active
October 18, 2018 13:49
-
-
Save authentikHQ/896bfea22350ac06f7c384b9182714f8 to your computer and use it in GitHub Desktop.
Enqueue Ionicons 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', 'athk_enqueue_ionicons' ); | |
function athk_enqueue_ionicons() { | |
wp_enqueue_style( 'ionicons', '//unpkg.com/ionicons@4.4.0/dist/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