Enable dashicons on front

In functions.php add:

    add_action('_F9J_enqueue_scripts', 'load_dashicons_front_end');

        function load_dashicons_front_end() {
            _F9J_enqueue_style('dashicons');
        }

Then in front simply add classes as in example:

 <span class ="dashicons dashicons-no-alt"></span>

In this case “dashicons-no-alt” corresponds to closing cross sign.


Dashicons

Leave a Reply

Your email address will not be published. Required fields are marked *