Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1417654

    Hi there,
    I have run a Google Fonts Cheker and found that some of my pages still run Google Fonts, even if I loaded my fonts per zip.
    Could you please tell me how I can disable the Google Connection? Thanks in advance.
    Arantza

    #1417797

    There can be several reasons why Google Fonts are loaded externally.
    First of all – have you activated your uploaded fonts at the end of the list in Enfold – Fonts? – Many upload Open-Sans but then select the default font in the list instead of the uploaded one.
    2.) try this snippet in your child-theme functions.php:

    function my_output_google_webfonts_script( $activate ){
      return false;
    }
    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );

    3.). If you are using Google Apps ( Maps, ReCaptcha, Analytics etc. pp) these apps can download their own fonts via Google Server!
    a) you can use for gmaps on child-theme functions.php:

    add_filter( 'avf_gmaps_no_google_fonts', '__return_true' );
    

    4.) …. better you tell us what you use from Google as an app to give further advice to prevent fonts from loading

    #1417881

    Hi,
    When I check your sites the google font is loaded by reCaptcha google.com/recaptcha/api2/
    So please try the suggestions from Guenni007 above, thanks Guenni007
    You can also try this plugin: Disable and Remove Google Fonts

    Best regards,
    Mike

    #1421367

    Apologies for my delayed response!
    I think that reCaptcha is loading the Google Fonts. I am using uploaded fonts and not the default Google Fonts.
    Could you please give me the code for avoiding reCaptcha of loading them??
    Thanks in advance!
    Arantza

    #1421370

    I also would like to disable the WordPress Emojis
    Thank you
    Arantza

    #1421382

    Hi,
    To stop Google Fonts from loading in reCaptcha you will need to use a plugin like Disable and Remove Google Fonts.
    To disable Emojis go to Enfold Theme Options ▸ Performance ▸ Disable Emoji/Smiley Support

    Best regards,
    Mike

    #1421871

    Thank you for your help, but still doesn’t work :(
    I keep finding google connections in two of my sites :(

    #1422255

    Hi,
    Thanks for your patience, the first site was not an admin login so I couldn’t examine, but the issue with the second site was you newsletter plugin which is showing a widget in the footer, disabling the plugin solves the google font, I re-enabled it, but I recommend asking the plugin author how to avoid the google connection within their plugin.
    If you are using the same plugin on your first site then this is probably also the issue with it, if not try disabling all of your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    Best regards,
    Mike

    #1423008

    OK! Thank you for the Information!
    I’ll check the plugin.
    Best regards!
    Arantza

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.