Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1362156

    Hey Kriesi Team,
    currently, there are warnings from lawyers in German-speaking countries because this technical way of integrating Google Font is not (anymore) DSGVO-compliant according to various court rulings in this calendar year. So we need to remove everything Google Font related.

    We already uploaded the font directly to the theme so it should use only those: https://prnt.sc/R5Ecku1btUHw // https://prnt.sc/sOU8FsIKEl54
    But there are still Google Font scripts/codes on it. We used this tool to check it: https://sicher3.de/google-fonts-checker/ (https://prnt.sc/qSK_QXH8_xWs)

    We already found some snippets that should remove it:

    But none of them work and we really don’t know where to look else.
    Any solutions you can suggest? We would prefer if we could filter it and not remove it, otherwise it will be there again when updated.

    Thanks in advance & Kind regards
    Bernhard

    #1362182

    Hi Bernhard,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1362387

    Login is in the Private Content.
    Thanks in advance.

    #1362408

    Hi,
    Thank you for the login, after much research I found that part of this issue was from the WP Rocket plugin adding the google font preconnect link to the site:
    2022-08-22_004.jpg
    to disable this you have to install a extra plugin from WP Rocket:
    2022-08-22_005.jpg
    I did this for you to ensure that this would work, which it did but you also had a google font link in your header.php so I removed this also:
    2022-08-22_006.jpg
    I also found that WP Rocket was also preloading the fonts at Preload ▸ URLs to prefetch, so I removed these URLs:
    2022-08-22_001.jpg

    //fonts.gstatic.com
    //fonts.googleapis.com
    //www.google-analytics.com
    //www.google.com
    //www.googletagmanager.com
    //www.gstatic.com

    and this solved your issue:
    2022-08-22_007.jpg
    The one last thing that I noticed was a 404 error for the url in the WP Rocket Preload ▸ Fonts to preload
    /wp-content/uploads/avia_fonts/type_fonts/open-sans-v34-latin/open-sans-v34-latin-regular.ttf
    so I removed this to solve the 404 error:
    2022-08-22_003.jpg
    please clear your browser cache and check.

    Best regards,
    Mike

    #1362509

    Thank you for the detailed and comprehensive answer and solution to this. All good now.
    What I would like to ask, is that if the fonts are imported directly in Enfold should be nothing more visible from the theme side, correct?

    Kind regards
    Bernhard

    #1362575

    Hi,
    Glad we could help, this is correct, your issues were caused by the WP Rocket plugin and the code added to your header.php was custom and not standard for the Enfold header.php file. Unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1362606

    Hello, yeah, all clear now, thanks again.

    #1362616

    Hi Bernhard,

    I’m glad that Mike could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘remove or filter link/scripts of Google Fonts’ is closed to new replies.