Support » Plugin: Kirki Customizer Framework » How to stop loading Google Webfonts?

  • Resolved Gerdski

    (@gerdski)


    Hello,

    we have Kirki installed in our Theme “Flatsome”.

    For DSGVO/Privacy reasons we must remove all calls to external webfont servers like gstatic.com/Google.

    Unfortunately, it is not possible (for me) to stop Kirki from doing this, it insists on loading Open Sans from gstatic.com, which should be loaded locally by css instead.

    How can I stop this behaviour?

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Gerdski

    (@gerdski)

    Any Idea anyone?

    Thread Starter Gerdski

    (@gerdski)

    Thanks, but I’ve tried it all, doesn’t work.

    The call to load Google Fonts is rooted deep down inside this Kirki Plugin, maybe only the Developer knows…

    Hi,

    Kirki does not connect to Google by default and instead stores Google fonts locally.

    This is either a configuration in the theme (potentially by the theme developer) or caused by a different plugin.

    Thread Starter Gerdski

    (@gerdski)

    OK, now this is weird. I can find a lot of gstatic URLS in a JSON File inside a Plugin called WFACPKirki Toolkit.

    Maybe this is not the same as the Kirki Customizer Framework…?

    Sounds like a customized version of Kikri – and most likely a very old one. You can ask the theme developer to update Kikri in the theme to the latest vesion.

    Thread Starter Gerdski

    (@gerdski)

    I could locate 2 Kirkis in checkout Plugins, one of them includes a huge json file full of Gstatic-URLs =:-[]
    Contacted the Plugin support, let’s see what thay say.

    Thanks!

    Thread Starter Gerdski

    (@gerdski)

    Solved! The Developer gave me a bit of code to paste into functions.php:

    add_filter( 'wfacp_enable_font_family', function ( $value, $template_type ) {
      if ( $template_type == 'embed_form' ) {
        return false;
      }
      return $value;
    }, 10, 2 );

    This applies to the WFACP-Kirki-Version, but maybe someone with the same Problem can read this.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to stop loading Google Webfonts?’ is closed to new replies.