-
AuthorPosts
-
August 31, 2023 at 9:15 am #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.
ArantzaSeptember 1, 2023 at 12:04 pm #1417797There 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
September 2, 2023 at 4:58 pm #1417881Hi,
When I check your sites the google font is loaded by reCaptchagoogle.com/recaptcha/api2/
So please try the suggestions from Guenni007 above, thanks Guenni007
You can also try this plugin: Disable and Remove Google FontsBest regards,
MikeOctober 4, 2023 at 10:49 am #1421367Apologies 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!
ArantzaOctober 4, 2023 at 11:01 am #1421370I also would like to disable the WordPress Emojis
Thank you
ArantzaOctober 4, 2023 at 12:19 pm #1421382Hi,
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 SupportBest regards,
MikeOctober 9, 2023 at 8:57 am #1421871Thank you for your help, but still doesn’t work :(
I keep finding google connections in two of my sites :(October 12, 2023 at 5:35 pm #1422255Hi,
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,
MikeOctober 19, 2023 at 1:14 pm #1423008OK! Thank you for the Information!
I’ll check the plugin.
Best regards!
Arantza -
AuthorPosts
- You must be logged in to reply to this topic.