Knowledge Base

Host Google Fonts locally with OMGF

Google fonts are being used on almost all modern themes, they are a great resource for great typefaces for any kind of WordPress based website. However the fact that these fonts are hosted on Google servers can conflict with GDPR compliance requirements, this is why site administrators need to be able to host them locally should they decide to do so. As usual there’s a plugin for that!

OMGF

This plugin will auto-detect any Google font selected on our theme’s typography options in the Customizer and with a few clicks will download the fonts, generate and enqueue a local stylesheet to make them work locally. To achieve this, install, activate the plugin and navigate to Settings > Optimize Google Fonts

In the plugin’s settings screen you should leave everything as is, the default options are good for most cases. Click to save the changes for the plugin to do its auto-detection and that should be it. The plugin will detect fonts used, download them locally, dequeue the online fonts and enqueue the local ones.

Use the coupon code WORDPRESS and save 30% OFF! Buy Now