OMGF Pro v5.3.3 - Improving Google Fonts For WordPress
Compared to the free version of OMGF, OMGF Pro comes packed with several advanced features, allowing you to improve your WordPress site’s Google Fonts implementation.
Related items
Related Optimizers Plugins
Perfmatters - The #1 Web Performance Plugin For WordPress
by Kinsta
We developed the perfmatters plugin with simplicity in mind.
Smush Pro - Image Optimization For WordPress
by WPMU DEV
Benchmarked - The fastest, easiest and best-performing image compression plugin for WordPress.
BerqWP - Core Web Vitals & PageSpeed Optimization WordPress Plugin
by Berqier
BerqWP is a 100% automatic All-In-One speed optimization plugin that ensures your website passes the core web vitals assessment and boosts your website speed score to 90+ for mobile and desktop dev...
Compared to the free version of OMGF, OMGF Pro comes packed with several advanced features, allowing you to improve your WordPress site’s Google Fonts implementation.
Increase GDPR Compliance
If you’re loading fonts directly from Google’s servers, their logging the IP addresses of all your visitors.
In fact, on January 20th, 2022, a German court ruled that loading Google Fonts from their server is in breach of GDPR, because it exposes unnecessary personal data to a US based company.
To keep using Google Fonts, you need to host them locally. There is no alternative.
Fortunately, OMGF Pro does exactly that. 🙂
OMGF Pro complements the free version of OMGF with advanced detection schemes:
To keep using Google Fonts, you need to host them [on your server]. There is no alternative.
- Webfont Loader or,
webfont.js, - Inline
@importor@font-facestatements, @importand@font-facestatements embedded in CSS files,- Google’s Early Access API, etc.
- Basically, anything! This includes Material Icons, Material Symbols and resource hints, i.e.
dns-prefetch,preloadorpreconnectheaders!
Maximize Performance
- Define a Fallback Font Stack: Reduce Cumulative Layout Shift by properly implementing font-display swapping and defining a (stack of) fallback font-families for each of your fonts,
- Easily replace unwanted Google Fonts with a System Font of your choice,
- Ensure text remains visible during webfont load by forcing the font-display (swap) attribute throughout all your stylesheets and @font-face statements,
- Preload fonts: easily preload key requests from within the Management panel.
Reduce Fonts Bloat
OMGF Pro goes beyond locally hosting Google Fonts and provides you with tools to Reduce bloat caused by other plugins and themes:
- Remove Google Fonts loaded asynchronously with JavaScript,
- Easily unload font-styles (e.g. italics) and/or font-weights (e.g. bold) you don’t use,
- Define which subsets should be loaded for all fonts throughout your WordPress configuration. This can reduce the size of your Google Fonts stylesheets by ~90% for the most popular fonts!
Recent releases
Release history
- after a theme (or plugin) stylesheet changed without WordPress' updater, e.g. when deploying with Git, SFTP or from a staging site, OMGF Pro kept serving its outdated cached copy. Cached copies are now refreshed when their source file is newer.
- after updating a theme or plugin, local and external stylesheets OMGF Pro had cached (e.g. because they import Google Fonts) were served unprocessed until OMGF's cache was emptied, because OMGF removes their cached copies on update. They're processed again now.
- Magic Fallbacks didn't add its fallbacks to fonts declared as CSS custom properties, e.g. block themes' font presets (Site Editor › Styles › Typography or theme.json).
- Magic Fallbacks (or a Fallback Font Stack) could add its fallbacks to the font-family of an @font-face statement in the same stylesheet, instead of to the declaration using it (e.g. font-family: Manrope), which broke that @font-face statement.
- refreshing a page's Smart Optimize results (Admin Bar) also removed the Smart Optimize stylesheets it shared with other pages with the same unused fonts, so those pages loaded without their fonts while served from a page cache.
- Apply Font-Display Option Globally (and Magic Fallbacks) also rewrote text on the page mentioning font-display (or font-family), e.g. "font-display: swap" in a post, removing everything after it up to the next ; or }. Inline styles are now processed inside style elements and style attributes only.
- while Smart Optimize is paused because OMGF reports issues on the Dashboard (or found unprocessed Google Fonts), the Dashboard says so, instead of saying it's enabled.
- when OMGF Pro removes cached stylesheets (an outdated cached copy of a theme or plugin stylesheet, or Smart Optimize's stylesheets after changing Magic Fallbacks), it flushes the page caches OMGF supports, because cached pages still refer to them. Requires OMGF v6.3.14 or higher.
View changelog
- Smart Optimize stored its results for every URL visitors browsed to, so variations of the same page were analyzed and stored separately, e.g. AffiliateWP's referral URLs (/ref/ /), which may contain an affiliate's email address. Results are now stored for the canonical path of the page. Existing results are removed once, so pages are analyzed again.
- Smart Optimize results weren't found on sites installed in a subdirectory, or for paths containing percent-encoded characters.
- Smart Optimize no longer analyzes 404 pages for administrators either.
- the omgf_pro_smart_optimize_path filter, to normalize the path Smart Optimize stores its results for.
- Security: Smart Optimize only stores results for paths signed by your site, i.e. pages it actually rendered, so its table can't be filled with made-up paths.
Frequently asked questions
Is OMGF Pro GPL licensed?
What is the latest version of OMGF Pro?
How much does OMGF Pro cost on GPLCoffee?
Which WordPress and PHP versions does OMGF Pro support?
Is OMGF Pro safe to download?
Auto-updates included
Install it once, update automatically.
The GPLC Connector installs this plugin from your wp-admin and rolls out new versions to your connected sites. Included with every membership plan: 10 to 40 connected sites depending on the plan (Lite 10, Pro 20, Geek and Lifetime 40).