User Tools

Site Tools


loading_google-fonts_locally_for_gdpr-_and_performance-reasons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
loading_google-fonts_locally_for_gdpr-_and_performance-reasons [2022/11/17 13:01]
Connie created by Connie
loading_google-fonts_locally_for_gdpr-_and_performance-reasons [2022/11/17 14:21] (current)
Connie
Line 13: Line 13:
  
 ---- ----
 +
 +It is important to get your website **GDPR- and DSGVO-compliant!**
  
 So how to get rid of fonts, served by Google, and load them directly from your GetSimple-Site?​ So how to get rid of fonts, served by Google, and load them directly from your GetSimple-Site?​
Line 31: Line 33:
 4) decide whether you need "best support"​ variant to serve older browsers or "​modern Browsers"​ 4) decide whether you need "best support"​ variant to serve older browsers or "​modern Browsers"​
  
-5) customize the path where you want to place the code, here the folder "​fonts"​ in your theme-directory (in php-speech!):​+5) customize the path where you want to place the font-files, here the folder "​fonts"​ in your theme-directory (in php-speech!):​
    <?​php get_theme_url();​ ?>/​fonts/ ​    <?​php get_theme_url();​ ?>/​fonts/ ​
        
Line 38: Line 40:
  
 7) download the ZIP which is created on the fly, unpack it into the fonts-folder: ​ 7) download the ZIP which is created on the fly, unpack it into the fonts-folder: ​
-   /​theme/​yourtheme/​css/+   /​theme/​yourtheme/​fonts/
   ​   ​
 8) edit the headerfile of your theme (f.e. inc_header.php) and delete the reference to google: 8) edit the headerfile of your theme (f.e. inc_header.php) and delete the reference to google:
Line 46: Line 48:
 add this line instead: add this line instead:
        
-   //<link href="<?​php get_theme_url();​ ?>/​css/​fonts.css"​ rel='​stylesheet'​ type='​text/​css'>​// +   <​link href="<?​php get_theme_url();​ ?>/​css/​fonts.css"​ rel='​stylesheet'​ type='​text/​css'>​
        
 9) make a backup of your actual GetSimple-Installation and then load up all the relevant files by FTP 9) make a backup of your actual GetSimple-Installation and then load up all the relevant files by FTP
loading_google-fonts_locally_for_gdpr-_and_performance-reasons.1668690071.txt.gz ยท Last modified: 2022/11/17 13:01 by Connie