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

Both sides previous revision Previous revision
Next revision
Previous revision
loading_google-fonts_locally_for_gdpr-_and_performance-reasons [2022/11/17 13:02]
Connie
loading_google-fonts_locally_for_gdpr-_and_performance-reasons [2022/11/17 14:21]
Connie
Line 33: 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 40: 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 48: 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.txt ยท Last modified: 2022/11/17 14:21 by Connie