Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3109443
Google Fonts
Closed

Comments

  • mthobaben started the conversation

    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

  •  2,488
    PenciDesign replied

    Hi,

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

    Regards,
    PenciDesign.


  • mthobaben replied

    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

  •  2,488
    PenciDesign replied

    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 privately
  •  2,488
    PenciDesign replied

    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.



  • mthobaben replied

    Hi,

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

    Have a nice day! :-)

    Regards,

    Bernd