-
-
Save ray1618/29c87cd594fde940153d5b3b05e3e6c0 to your computer and use it in GitHub Desktop.
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 | |
add_action( 'wp_enqueue_scripts', 'mytheme_scripts' ); | |
/** | |
* Enqueue Dashicons style for frontend use when enqueuing your theme's style sheet | |
*/ | |
function mytheme_scripts() { | |
wp_enqueue_style( 'mytheme-style', get_stylesheet_uri(), ['dashicons'] ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment