Created
January 6, 2018 17:25
-
-
Save IacopoC/8f85ff02cd1e7593308d5d0db3bf36d8 to your computer and use it in GitHub Desktop.
Enable Dashicons in the frontend
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 | |
// Adding Dashicons in WordPress Front-end | |
add_action( 'wp_enqueue_scripts', 'load_dashicons_front_end' ); | |
function load_dashicons_front_end() { | |
wp_enqueue_style( 'dashicons' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment