• Dani

    (@danicasati)


    Hi.
    Any way to exclude WOOFC.TTF from loading?
    I don’t use float icon, so I think that I could improve page speed removing this TTF file from loading.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @danicasati

    Please add below code to current-theme (or child-theme) / functions.php

    add_action( 'wp_enqueue_scripts', 'woofc_remove_font_icon', 99 );
    function woofc_remove_font_icon() {
    	wp_dequeue_style( 'woofc-fonts' );
    }
    Thread Starter Dani

    (@danicasati)

    Thanks.
    I’l try it soon.

    Hi there!
    Testing my website with the PageSpeed tool by Google and facing the same issues all the time:

    Error: Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading: …wp-content/plugins/woo-fly-cart/assets/fonts/woofc.ttf

    It should be preloaded or display:swap ?
    I really try to fix this but nothing really helps.
    Appreciate it if you can suggest how to deal with this to fix the PageSpeed?
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove WOOFC.TTF from loading’ is closed to new replies.