Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #436183

    Hello,

    is it possible to permanently exchange the font loading reference from googleapis.com to useso.com?
    I am working on a project in mainland China and Google services slow down the loading time of the site.
    I found a plugin here: https://wordpress.org/plugins/googleapis-to-useso/ but it doesn’t work with the Enfold theme.

    Best
    Michele

    #436737

    Hi LaNeraNura!

    Thank you for using Enfold.

    We never encountered the term “useso” before. What is it exactly?

    EDIT: Maybe, you can edit framework > php > class-style-generator.php, look for this code around line 369:

    $this->extra_output .= "<link rel='stylesheet' id='avia-google-webfont' href='//fonts.googleapis.com/css?family=".apply_filters('avf_google_fontlist', $this->google_fontlist)."' type='text/css' media='all'/> \n";
    

    Replace it with:

    $this->extra_output .= "<link rel='stylesheet' id='avia-google-webfont' href='//fonts.useso.com/css?family=".apply_filters('avf_google_fontlist', $this->google_fontlist)."' type='text/css' media='all'/> \n";
    

    Regards,
    Ismael

    #437492

    Hi Ismael,

    thanks this works!
    You can find more information about the topic here: http://chineseseoshifu.com/blog/google-fonts-instable-in-china.html

    You can close this thread.

    Best
    Michele

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Replace fonts.googleapis.com with fonts.useso.com’ is closed to new replies.