• Resolved gemuesegarten

    (@gemuesegarten)


    Hello,
    I want to remove the following links to fontawesome.com from the source code for reasons of data privacy. If anybody knows how to do this, I?would gratefully appreciate any hint.

    <link rel='dns-prefetch' href='//use.fontawesome.com' />
    
    <link rel='stylesheet' id='fontawesome_v4_shim_style-css'  type='text/css' media='all' />
    <link rel='stylesheet' id='fontawesome-css'  type='text/css' media='all' />
    
    <script type='text/javascript' src='https://use.fontawesome.com/releases/v5.3.1/js/v4-shims.js?ver=5.3.1' id='fontawesome_v4_shim-js'></script>

    Thanks in advance und best regards.
    Sonja

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi, do you use a child-theme, so you might be able to change the code of your footer-template ( in case its written there) or check the mentioned css file to change it there.

    Thread Starter gemuesegarten

    (@gemuesegarten)

    Hi ericmw, thank you very much. I hoped to find an easier way, because l’m not very familiar with wordpress. Now I’ll try to create a child-theme as soon as possible. Best regards Sonja

    Theme Author Anthony Hortin

    (@ahortin)

    Hi Sonja,

    Apologies for the delay in responding. That code you’re showing in your partial screenshot isn’t from my Ephemeris theme. My theme does use Font Awesome, but the font files are included in the theme folder, so they’re loaded from your own site. Take a look at this screenshot. This is the source from my local development site and you can see that the Font Awesome stylesheet is loaded from my local site. You can also look in the theme folder and see all the FA fonts in the /fonts folder.

    The code that you’re displaying is most likely being generated from one of the plugins that you’re using, such as a Page Builder plugin for example.

    Thread Starter gemuesegarten

    (@gemuesegarten)

    Hi Anthony,

    thank you very much for the beautiful and well structured theme and for your answer. This is very good news. I only use a few plugins. Therefore I hope to find the problem soon. One of these plugins avoids the dynamic loading of Google-Fonts. I installed it after a data-privacy-screen found dynamically embedded Google-Fonts on our page. Do you use dynamically loaded Google-Fonts in your theme or is this a plugin-problem, too?

    Thanks a lot and best regards, Sonja

    Theme Author Anthony Hortin

    (@ahortin)

    Hi Sonja,

    You’re very welcome and thanks for the kind words on my theme.

    Ephemeris does actually load its fonts from Google. If you’d prefer not to do this, then you could possibly perform the following which should help with the privacy aspect.

    • Copy the ephemeris_fonts_url() function from functions.php file, into the functions.php file in your child theme. When you copy it, copy everything except the surrounding “if” statement (i.e. don’t copy the “if ( ! function_exists( 'ephemeris_fonts_url' ) ) {” part or it’s matching closing “}“).
    • Near the end of this function, that you’ve copied to your child theme, change the Google fonts reference from https://fonts.googleapis.com/css to https://fonts.bunny.net/css

    Performing the above change will load the fonts from https://bunny.net instead of Google. Bunny Fonts is a replication of the Google Fonts repository, but with one important difference. They’re GDPR Compliant with zero logging and no data sharing. I’m actually thinking of making this change in the theme itself, instead of loading them from Google. In the meantime though, if you make that change above, that should fix up your privacy issue with Google fonts.

    Thread Starter gemuesegarten

    (@gemuesegarten)

    Hi Anthony,

    thank you very much! I think that I understood your instruction and I’ll try as soon as possible.

    Best wishes! Sonja

    Theme Author Anthony Hortin

    (@ahortin)

    Hi Sonja,

    Just to make it a little clearer, take a look at this screenshot which shows the exact part of the function to copy to your child theme. I’ve added a red outline around the bit that you would need to copy, and also that url that you’d need to change.

    I’m going to close this issue now since it looks to be resolved. Feel free to open another one though if you have any other issues.

    Thanks,
    Anthony.

    Thread Starter gemuesegarten

    (@gemuesegarten)

    Hi Anthony,

    thank you very much. Yes, I think this issue is resolved. Due to the good experience with this issue, I really feel free to open another one, if I feel clueless the next time.

    Best wishes, Sonja.

    Theme Author Anthony Hortin

    (@ahortin)

    Happy to help. Glad I was able to get this sorted for you ??

    Theme Author Anthony Hortin

    (@ahortin)

    Hi Sonja, I just wanted to let you know that I released a new version of my theme this afternoon that now loads the fonts from Bunny Fonts (like we discussed above), instead of from Google Fonts.

    Thread Starter gemuesegarten

    (@gemuesegarten)

    Hi Anthony,

    thank you very much for this information. This is a very useful modification for all users who aren’t very familiar with privacy issues and child themes – like me before I received a legal dissuasion and learnt in this forum about child themes and how to substitute google-links. Meanwhile – due to your detailed instruction – I’ve successfully implemented the bunny-links to my child theme. Thank you very much for your efforts, which are so invaluable for me and many others who are glad about using your Ephemeris theme.

    Best wishes, Sonja

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Remove links to fontawesome.com’ is closed to new replies.