Created
September 6, 2017 11:28
-
-
Save mehul0810/bac24dbd4193b5a56282616751dc27d2 to your computer and use it in GitHub Desktop.
Easily Enable Dashicons For WordPress FrontEnd https://www.mehulgohil.in/enable-dashicons-wordpress-frontend/
This file contains hidden or 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 | |
/** | |
* Enable Dashicons for WordPress FrontEnd. | |
*/ | |
function mg_enable_dashicons_frontend() { | |
// Enable Dashicons Stylesheet. | |
wp_enqueue_style( 'dashicons' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'mg_enable_dashicons_frontend' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment