Title: Local Google Fonts
Author: EverPress
Published: <strong>16. maj, 2022</strong>
Last modified: 1. maj, 2025

---

Søg plugins

![](https://ps.w.org/local-google-fonts/assets/banner-772x250.png?rev=3285815)

![](https://ps.w.org/local-google-fonts/assets/icon-256x256.png?rev=3285815)

# Local Google Fonts

 Af [EverPress](https://profiles.wordpress.org/everpress/)

[Download](https://downloads.wordpress.org/plugin/local-google-fonts.0.24.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/local-google-fonts/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/local-google-fonts/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/local-google-fonts/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/local-google-fonts/#developers)

 [Support](https://wordpress.org/support/plugin/local-google-fonts/)

## Beskrivelse

Host your used Google fonts on your server and make your site more GDPR compliant
💯.

About 50 mio[*](https://trends.builtwith.com/websitelist/Google-Font-API) sites 
use Google Fonts and in January 2022 a German court has ruled that using Google 
Fonts is a violation of Europe’s GDPR (General Data Protection Regulation).

more on [wptavern.com](https://wptavern.com/german-court-fines-website-owner-for-violating-the-gdpr-by-using-google-hosted-fonts).

## Installation

 1. Upload the entire `local-google-fonts` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings => Google Fonts and decide which fonts should get loaded locally

## FAQ

### Will this load Google Fonts automatically?

Yes, if you check the option to load fonts automatically. Otherwise each font set
must be manually triggered.

### Is it Legal to Self-Host Google Fonts?

Yes. The open source fonts from Google Fonts are published under a licenses that
allow you to use them on any website, no matter if it’s commercial or personal.

### How to check if my site is loading Google Fonts?

It’s easy to check if your site is loading fonts from a third party source (check
[2nd screenshot](https://wordpress.org/plugins/local-google-fonts/#screenshots) 
above):

 1. Open the dev tools (Cmd + Opt + I on Mac or F12, or Ctrl + Shift + I on Windows)
 2. Go to the **Network** tab and select the **Fonts** type
 3. Reload your page to see all fonts loaded on your site.
 4. Check the **Domain** column if it contains domains from a third party (Google is
    fonts.gstatic.com)

If you host your fonts locally with [Local Google Fonts](https://wordpress.org/plugins/local-google-fonts/)
there should be no fonts loaded from the Google servers.

### My fonts do not show up on the settings page, what can I do?

Fonts are discovered once they are used. Try to browse your front end first and 
get back to the settings page.

### My fonts are not replaced, what can I do?

The plugin currently only checks fonts embedded via [`wp_enqueue_style`](https://developer.wordpress.org/reference/functions/wp_enqueue_style/)
if you use Google fonts via `@import` you have to change that first.

### The Divi theme still loads a Google font?

The DIVI theme has a custom implementation of Google Fonts. To use LGF with DIVI
disable _Improve Google Fonts Loading_ on the Performance Settings page of DIVI.

### Why only the woff2 font format is loaded?

Woff2 is the successor of the woff format and and offers a 30% average compression
gain over the original format. It is also supported by over 96% of browsers ([source](https://caniuse.com/woff2)).

### How to host Fonts loaded with Slider Revolution?

Slider Revolution uses it’s own way to load Google Fonts and LGF cannot handle them.
Slider Revolution has a built in feature for their sliders.

 1. Goto Slider Revolution
 2. Click on “Global” in the top navigation
 3. Find the “Fonts” section and Choose “Cache Fonts Local” on “Enable Google Fonts
    download”
 4. Save your settings.

### Why are some characters displayed in the fallback font?

You may have loaded a subset which doesn’t included required characters. Check additional
subsets on the settings page and reload your font.

## Anmeldelser

![](https://secure.gravatar.com/avatar/1b40e2a25460a95f0aaf6070328dee0753c6c66d2b1a65d2894299645943bcf7?
s=60&d=retro&r=g)

### 󠀁[5 Sterne – wohlverdient](https://wordpress.org/support/topic/5-sterne-wohlverdient/)󠁿

 [furkansenturk](https://profiles.wordpress.org/furkansenturk/) 7. april, 2025

unkompliziert und übersichtlich- was will man mehr bei diesem lästigen Thema.

![](https://secure.gravatar.com/avatar/0e26240dba52935fa0db6bf2fd5a03ad7442a5271ac59b59ecd7bdd27369104c?
s=60&d=retro&r=g)

### 󠀁[Einwandfrei](https://wordpress.org/support/topic/einwandfrei-9/)󠁿

 [reneewelz](https://profiles.wordpress.org/reneewelz/) 24. marts, 2025

Wir haben das schon eine Weile im Einsatz, heute fällt mir auf, noch gar nicht bewertet.
Deswegen schon mal 5 Sternen, weils still und leise einfach tut was es soll. 😉

![](https://secure.gravatar.com/avatar/e781bf8d6bf5a32269203c9484f3c11aa32708e32539ba7f2dc0778d54dc22bf?
s=60&d=retro&r=g)

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-2370/)󠁿

 [toxicum](https://profiles.wordpress.org/toxicum/) 8. januar, 2025

It works like a charm. All who got problems getting it working:In settings > Google
Fonts, tick the “Load Fonts automatically” checkbox and click on the “Reload Fonts”
button. Then save the changes. That’s it. You will see in your browsers inspector
> Network that the fonts are hosted locally (at least here it is)

![](https://secure.gravatar.com/avatar/5fb0e6d85a3edff016a7eea60a9ebc4846a3b588d3a83f573aac1a7738de4a7c?
s=60&d=retro&r=g)

### 󠀁[Très efficace](https://wordpress.org/support/topic/ne-marche-pas-du-tout/)󠁿

 [fbarret](https://profiles.wordpress.org/fbarret/) 21. oktober, 2024

Lors de mes premiers essais, il y a quelques mois, l’extension ne fonctionnait pas.
Aujourd’hui elle semble marcher parfaitement. Très efficace, merci au concepteur!

![](https://secure.gravatar.com/avatar/db1d59ef27fda41c4c584de892f37c702ccf2b30e56dcbab1fb0d22b2c3f3faf?
s=60&d=retro&r=g)

### 󠀁[very bad](https://wordpress.org/support/topic/very-bad-155/)󠁿

 [marlinka](https://profiles.wordpress.org/marlinka/) 12. juli, 2024 1 svar

Easy Google Fonts with same logo work perfectly. But this plugin useless and unclear
why.

![](https://secure.gravatar.com/avatar/c8ce6d15ccb9ae5d78178f7de418f9ebe17db1d35dc62bd3fc56d3fcbc5944a3?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin!](https://wordpress.org/support/topic/excellent-plugin-9114/)󠁿

 [Chris Lovie-Tyler](https://profiles.wordpress.org/chrislt/) 19. april, 2024

Does what I need it to. Thanks!

 [ Læs alle 83 anmeldelser ](https://wordpress.org/support/plugin/local-google-fonts/reviews/)

## Bidragsydere & udviklere

“Local Google Fonts” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ EverPress ](https://profiles.wordpress.org/everpress/)
 *   [ Xaver ](https://profiles.wordpress.org/xaverb/)

“Local Google Fonts” er blevet oversat til 11 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/local-google-fonts/contributors)
for deres bidrag.

[Oversæt “Local Google Fonts” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/local-google-fonts)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/local-google-fonts/),
tjek [SVN repository](https://plugins.svn.wordpress.org/local-google-fonts/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/local-google-fonts/)
via [RSS](https://plugins.trac.wordpress.org/log/local-google-fonts/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.24.0

 * added: option to use relative URLs

#### 0.23.0

 * Update WordPress ‘Tested up to’ version to 6.7
 * Don’t show admin message when plugin is network-activated

#### 0.22.0

 * fixed: missing `$user_agent` variable
 * fixed: missing `$tmp_file` variable

#### 0.21.0

 * fixed: issue downloading fonts with WordPress 6.2 caused by the `download_url`
   method

#### 0.20.0

 * make sure files are loaded via https if requested
 * new filter `lgf_folder_url`and `lgf_folder`
 * always append timestamp to prevent caching

#### 0.19

 * please reload fonts manually if you encounter problems after the update
 * completely rewriting the way fonts are loaded which to drop the need for a third
   party API and support more (deprecated) fonts.
 * better support for multi site (thanks @ravanh)
 * the original style sheet is used for better compatibility
 * added Settings link on the plugins list page
 * added button to manually fetch homepage for used fonts
 * only woff2 fonts are now loaded for better subset support
 * removed unused seed variable

#### 0.18

 * do not use `remove_query_arg` to strip args as it can break some URLs

#### 0.17

 * remove `ver` query argument from URLs as they are added by WordPress. _Please
   review settings as fonts may have to be reloaded_
 * introduced upgrade class for future updates
 * added: welcome message after plugin activation
 * added Codeable banner
 * fixed: PHP warning on missing key

#### 0.16

 * using absolute path to support Google Fonts in [Mailster](https://mailster.co/?utm_campaign=wporg&utm_source=wordpress.org&utm_medium=readme&utm_term=Local+Google+Fonts).

#### 0.15

 * using custom mirror to prevent down times

#### 0.14

 * added info if [https://google-webfonts-helper.herokuapp.com/](https://google-webfonts-helper.herokuapp.com/)
   is down

#### 0.13

 * improved: better explanations on errors.
 * improved: Higher propriety for wp_resource_hints to catch them all. Fixes #8
 * implemented an alias method for no longer supported fonts.
 * fixed: Syntax error on older PHP versions

#### 0.12

 * Do not handle fonts sources with more than 30 families (why would you need that?)
 * Add option to choose subsets for each font family
 * Disable functionality in the customizer

#### 0.11

 * fixed: problem on customizer in Neve theme
 * fixed wrong domain on translations
 * update F.A.Q. for DIVI theme

#### 0.10

 * fixed: rending issue on some fonts (please reload fonts if you use one of these:“
   exo-2”, “inter”, “jost” or “montserrat”)
 * fixed: some styles are not recognized and therefore not loaded.
 * improved: info about loaded font files on the admin screen
 * added timestamp to loaded font files to prevent cached fonts get loaded.

#### 0.9

 * new: options to load fonts automatically

#### 0.8

 * updated required WP version to 4.6
 * remove Text Domain header
 * added missing translatable strings

#### 0.7

 * better handling of multiple “family” arguments in the URL

#### 0.6

 * loading all variants if none explicit are requested
 * cache API requests
 * respect font-display
 * removes DNS prefetch and preconnect to Google server from page header

#### 0.5

 * added option to flush everything

#### 0.4

 * you may have to reload fonts so please check the settings page
 * improved handling of fonts
 * only loading required font files
 * supports now different types of variant declarations
 * add variants to list only if available in the source
 * added some css to improve settings page
 * you may have to reload fonts so please check the settings page

#### 0.3

 * add explanation info on settings page

#### 0.2

 * show info when no font is found
 * better handling of translated strings

#### 0.1

 * initial release

## Meta

 *  Version **0.24.0**
 *  Senest opdateret **12 måneder siden**
 *  Aktive installationer **100.000+**
 *  WordPress-version ** 4.6 eller højere **
 *  Testet op til **6.8.5**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/local-google-fonts/), [Dutch](https://nl.wordpress.org/plugins/local-google-fonts/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/local-google-fonts/), [English (US)](https://wordpress.org/plugins/local-google-fonts/),
   [French (France)](https://fr.wordpress.org/plugins/local-google-fonts/), [Galician](https://gl.wordpress.org/plugins/local-google-fonts/),
   [German](https://de.wordpress.org/plugins/local-google-fonts/), [Italian](https://it.wordpress.org/plugins/local-google-fonts/),
   [Russian](https://ru.wordpress.org/plugins/local-google-fonts/), [Spanish (Chile)](https://cl.wordpress.org/plugins/local-google-fonts/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/local-google-fonts/) og [Swedish](https://sv.wordpress.org/plugins/local-google-fonts/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/local-google-fonts)
 * Tags
 * [font](https://da.wordpress.org/plugins/tags/font/)[fonts](https://da.wordpress.org/plugins/tags/fonts/)
   [GDPR](https://da.wordpress.org/plugins/tags/gdpr/)[google](https://da.wordpress.org/plugins/tags/google/)
   [googlefonts](https://da.wordpress.org/plugins/tags/googlefonts/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/local-google-fonts/advanced/)

## Bedømmelser

 4.6 ud af 5 stjerner.

 *  [  73 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/local-google-fonts/reviews/?filter=5)
 *  [  2 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/local-google-fonts/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/local-google-fonts/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/local-google-fonts/reviews/?filter=2)
 *  [  8 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/local-google-fonts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/local-google-fonts/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/local-google-fonts/reviews/)

## Bidragsydere

 *   [ EverPress ](https://profiles.wordpress.org/everpress/)
 *   [ Xaver ](https://profiles.wordpress.org/xaverb/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/local-google-fonts/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://evp.to/donate)