• Resolved SottoVoce

    (@sottovoce)


    Hi, is there a way to dequeue fonts/genericons/genericons.css?

    I am not using it and I would like not to load the stylesheet in the frontend

    I tried to use wp_dequeue_style in functions.php, but since it is registered without the $handle parameter, I was unsuccessful.

    I could comment out the corresponding file within the plugin, but I’d like it not to be overwritten when it’s updated.

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpo-HR

    (@wpo-hr)

    Hi,
    I am not sure what you mean by ‘registered without $handle parameter’?
    The $handle parameter is a requiried parameter for wp_enqueue_style, it can’t be missing.
    By the way, this plugin is very stable. Therefore it has not many updates. The last update was end of 2018.
    Best regards,
    Harald

    Thread Starter SottoVoce

    (@sottovoce)

    @wpo-hr Sorry, my bad. wp_dequeue_style('ngg-smart-image-search-genericons'); did the trick.
    Great plugin by the way.
    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dequeue icon stylesheet’ is closed to new replies.