Skip to content
Public Ticket #21976

Google Fonts

Conversation thread

mthobaben replied

Customer Reply

Hi,

works perfectly - thank you (also for the easy description)!

Have a nice day! :-)

Regards,

Bernd

PenciDesign Supporter replied

Staff Reply

Hi,

I've removed all meta tags related to Google by adding the following content to the child theme functions.php file:

add_filter('penci_soledad_optimize_preconnect_domains','__return_false');
add_filter('penci_soledad_optimize_dns_domains','__return_false');

Regards,
PenciDesign.



PenciDesign Supporter replied

Staff Reply

Hi,

Please send me your WordPress admin account in a PRIVATE reply. I'll log in and help you check it.

Regards,
PenciDesign.


mthobaben replied

Customer Reply

Hi,

Thanks for your fast reply.

I've it exactly following your description
= didn't work

PLUS cleaned the caches
= still didn't work

The code is still in the header (see https://mrs-t.de and https://dev.mrs-t.de)

What else can help?

Regards,
Bernd

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize → Speed Optimization → Optimize CSS: turn off the "Optimize Google Fonts" option.

Regards,
PenciDesign.


mthobaben started the conversation

Conversation Start

Hi there,

for GDPR reasons we want to eliminate any connection to Google fonts. 

The deactivation in the customizer worked well, but there's still some code in the header:

-------8<------

<link rel='preconnect' href='https://fonts.googleapis.com' />
<link rel='preconnect' href='https://fonts.gstatic.com' />
<meta http-equiv='x-dns-prefetch-control' content='on'>
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel='dns-prefetch' href='//fonts.gstatic.com' />

-------8<------

How can I get this out totally?

Thanks in advance!

Bernd

Want to join this conversation or access attachments? Sign in first.