Home Forums WoodMart support forum dashicon

dashicon

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #422106

    Nicosa
    Participant

    Hello,

    I want to remove the dashicons which in my case are of no use to me, I put this in the function.php of the child theme, but it always appears in front-end; how can i overwrite this so that it can disappear.

    function wpdocs_dequeue_dashicon ()
    {if (current_user_can (‘update_core’)) {return; }
    wp_deregister_style (‘dashicons’); }
    add_action (‘wp_enqueue_scripts’, ‘wpdocs_dequeue_dashicon’);

    #422195

    Hello,

    Sorry to say but Dashicons aren’t related to Theme. They are loaded by WordPress core.

    So, we would suggest you contact WordPress Support in this regard, they will guide you through it because as they are not related to Theme, so there isn’t any option available in the Theme for that.

    Or you can either look for any third-party Plugin in this regard at your own risk to hide those Dashicons.

    Hope you can understand!

    Best Regards.

    #422230

    Nicosa
    Participant

    Hello,

    Thank you for your return, I will see otherwise for that.

    Beautiful day,

    #422241

    Most Welcome!!!

    We are glad that we could be of some help.

    Feel free to contact us if you need any further assistance !

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘dashicon’ is closed to new replies.