Support » Plugin: Elementor Addons by Livemesh » dequeue icomoon

  • Resolved natos

    (@natos)


    You referenced the dequeue function on a previous post complaining about the google page speed warning to preload this request. Can you please tell me exactly what I have to do. I’m assuming I can place this script in my snippets editor. Do I just place this?

    <?php wp_dequeue_style( $lae-icomoon-styles ) ?>

    Is it better to link in the head? Such a shame that there is such a lag on google page speed for some simple icons as I really like your widgets. Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author livemesh

    (@livemesh)

    You can try putting this in your child theme functions.php –

    function custom_dequeue() {
        wp_dequeue_style('lae-icomoon-styles');
        wp_deregister_style('lae-icomoon-styles');
    
    }
    
    add_action( 'wp_enqueue_scripts', 'custom_dequeue', 9999 );
    add_action( 'wp_head', 'custom_dequeue', 9999 );
Viewing 1 replies (of 1 total)
  • The topic ‘dequeue icomoon’ is closed to new replies.