Enable Dashicons in WordPress Frontend

Note :This snippet works only with the Classical style option. More about the theme style option here

To use Dashicons (the default set used in the WP backend) we need to enable them also for the front-end of our WordPress site, because by default WP allows Dashicons only for the back-end or for registered admins.
Paste this code into your functions.php file

Related Snippets you may also like