
OMGF Pro (Host Google Fonts Locally) helps you eliminate external Google Fonts requests by serving them directly from your own WordPress server, ensuring full GDPR compliance and improved performance. By preventing user IP addresses from being sent to Google, it addresses privacy concerns while also reducing DNS lookups and leveraging browser caching. The plugin automatically detects fonts used by your theme and plugins and replaces remote requests with optimized local copies.
Host Google Fonts Locally works in either Manual or Automatic mode, giving you control over how fonts are detected and optimized. In Automatic mode, it captures requests to Google’s font domains, downloads the required files, generates cross-browser compatible stylesheets (EOT, TTF, WOFF, WOFF2), and rewrites URLs to point to local versions. It also supports font preloading, CDN delivery, and advanced optimizations like combining and deduplicating stylesheets in the Pro version, helping reduce page size and loading time.
Core Features of OMGF Pro WordPress Plugin
- Automatic Font Replacement: Automatically replaces registered and enqueued Google Fonts in wp_head() with local copies.
- Remove Google Fonts: Automatically removes registered and enqueued Google Fonts from wp_head().
- Manage Optimized Fonts: Allows you to manage all optimized Google Fonts from one place.
- Preload Above-the-Fold Fonts: Enables preloading of important fonts for faster initial rendering.
- Exclude Specific Fonts: Prevents certain fonts or entire stylesheets from loading.
- Font-Display Swap Option: Leverages the font-display (swap) setting to improve perceived loading speed.
- CDN Support: Allows serving fonts from a CDN.
- Security Plugin Compatibility: Works with security through obscurity plugins.
- Full Document Replacement (Pro): Automatically removes or replaces all Google Fonts across the entire page.
- WebFont Loader Support (Pro): Supports WebFont Loader (webfont.js) and Early Access Google Fonts.
- Combine Stylesheets (Pro): Combines all Google Fonts stylesheets created by themes and plugins into one file.
- Deduplicate Stylesheets (Pro): Deduplicates multiple Google Fonts stylesheets.
- Force Font Subsets (Pro): Forces the used subset(s) to reduce loading time and page size.
- Remove Resource Hints (Pro): Removes preload, preconnect, and dns-prefetch hints pointing to Google Fonts domains.
What’s New (Changelog) in OMGF Pro v5.3.4
= 5.3.4 =
* Added: OMGF Pro's settings are included in OMGF's settings Import/Export (requires OMGF v6.4.0).
* Fixed: the Dashboard didn't report layout shifts (CLS) and promote Magic Fallbacks when Smart Optimize was enabled.
* Fixed: Smart Optimize failed (status 400) on pages with long non-Latin permalinks, e.g. Cyrillic or Greek.
* Fixed: Smart Optimize still ran on pages loaded with ?nomgf=1.
* Fixed: @font-face statements in very large or malformed stylesheets weren't optimized and Force Font-Display skipped them.
* Fixed: optimized @font-face statements kept the original format() hint, e.g. format('woff'), for their woff2 files.
* Fixed: Save & Optimize enabled Process Local/External Stylesheets when they contained no Google Fonts, e.g. with Force Font-Display enabled.
* Fixed: stylesheets optimized by OMGF Pro could be marked as Unused in OMGF's Cache Status while still in use.
Similar Plugins