Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter johanseb

    (@johanseb)

    Gentle reminder

    Plugin Author NikHiL Gadhiya

    (@nikhilgadhiya)

    Hello,
    Using the wp_dequeue_style function you can removes the enqueued CSS.
    Please add following code in your theme to remove the CSS and download CSS and enqueue it from your theme.

    add_action( 'wp_enqueue_scripts', 'nickx_wp_enqueue_scripts_callback', 11 );
    function nickx_wp_enqueue_scripts_callback() {
    	wp_dequeue_style( 'nickx-fontawesome-css' );
    }


    Thank You.

    Thread Starter johanseb

    (@johanseb)

    Is it possible instead to just host it on my server ?

    Plugin Author NikHiL Gadhiya

    (@nikhilgadhiya)

    This code is for remove the CSS they loading from third party. Using this wp_enqueue_style function you can load it from self host.
    Contact your developer they will do it.

    Thank You.

    Thread Starter johanseb

    (@johanseb)

    Ok I will ask my webmaster but in my opinion it should be in the GUI. It should give us the option on where to get the fonts . Google pageinsigths shows me that the delay introduced by that font (to fetch from CDN) is 700ms. Thats a lot for a 8kb download.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘awesomefonts’ is closed to new replies.