Linux 软件免费装
Banner图

Fontstay – Local Hosting for Google Fonts

开发者 wedoingood
更新时间 2026年11月16日 18:24
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

performance privacy gdpr google fonts local fonts

下载

1.2.1 1.2.2 1.0.9 1.1.0 1.2.0 1.0.8

详情介绍:

Most themes, page builders and plugins load their fonts from Google. Every visitor's browser then connects to Google's servers, which shares the visitor's IP address with Google and adds extra connections before your text appears. Fontstay finds those fonts, downloads them to your site once, and serves them from there. Your pages look the same; the fonts simply come from your own domain. How it works
  1. Scan. Your site opens a few of its own pages – home page, latest post, a category, the first page of your menu and, with WooCommerce, the shop and a product – and lists every Google Fonts stylesheet they load, and which theme or plugin adds it.
  2. Host locally. One click per font, or "Host all". Your server downloads the font files once and keeps them in your uploads folder.
  3. Done. Visitors' browsers load these fonts from your site, not from Google.
Features Privacy Hosting fonts on your site means visitors' browsers don't send requests to Google for those fonts. This can help you meet privacy rules such as the GDPR; it is not legal advice, and your site may use other services that share visitor data. The plugin adds no tracking and sends nothing about your visitors anywhere. See "External services" below for what your server sends to Google when you host a font. Compatibility Fontstay Pro A paid add-on for sites where fonts hide in code and scripts, or text jumps while fonts load. Everything in Fontstay, plus: ✔ Fonts in page code, scripts and CSS files hosted too — fonts that themes, plugins and scripts add outside the standard WordPress way. Theme and plugin files are never edited. ✔ Icon fonts hosted with their icons — Material Icons and Material Symbols keep showing as icons. ✔ Text shows at once, with fallback fonts sized like yours — also for your theme's other fonts, so text barely moves when the fonts arrive. ✔ First-screen fonts found and preloaded — your browser notes which fonts each page shows first, on phones and computers. ✔ Cart, checkout, My Account and every language scanned — in a WooCommerce shop, and with WPML, Polylang or TranslatePress. ✔ Bunny Fonts and WordPress.com fonts hosted too — found and hosted like Google Fonts. And many more features: see the full list of Fontstay Pro features → More Setup guide, screenshots and how we test: wedoingood.com/plugins/fontstay. We build plugins as shop owners, from problems we hit in our own shop.

安装:

  1. Install and activate Fontstay.
  2. Go to Appearance → Fontstay.
  3. Click "Scan site", then "Host all".

屏幕截图:

  • All fonts hosted locally: visitors' browsers no longer contact Google for them.
  • Choose styles and preload.
  • Fonts loaded another way, and Google services that bring their own fonts.
  • Settings.

升级注意事项:

1.2.2 A link to the full list of Fontstay Pro features. Fonts and settings don't change. 1.2.1 Updated notes about Fontstay Pro. Fonts and settings don't change. 1.2.0 Small fixes and internal hooks. Fonts and settings don't change. 1.1.0 Short notes about Fontstay Pro on the Fontstay screen, which you can hide. Fonts and settings don't change. 1.0.9 Plugin homepage and support links. No functional changes. 1.0.8 First release on WordPress.org.

常见问题:

Where do I find Fontstay after installing it?

In the admin menu, go to Appearance → Fontstay. You can also click "Settings" under the plugin's name on the Plugins screen.

What is sent to Google, and when?

Only when you host a font: your server asks Google for the font names and styles, for example "Roboto 400, 700", and downloads the files once. Your visitors' browsers never contact Google for hosted fonts, and Google sees your server's address, not your visitors'. Scanning only opens your own pages.

Does it work with my theme and page builder?

It works with any theme, page builder or plugin that adds Google Fonts the standard WordPress way, which most do. If a theme or builder already has its own "load fonts locally" option turned on, those fonts are already on your site and won't appear in the list. Fonts added another way are listed under "Loaded another way".

Why does a font appear under "Loaded another way"?

A theme or plugin loads it from Google without the standard WordPress way – for example with a link written directly into the page code, or an @import inside a stylesheet. This plugin can't move those fonts safely, so it shows where they come from. Many themes and builders have their own "load Google Fonts locally" option; turning it on usually solves it.

Why isn't a font found?

The scan checks your home page, latest post, the busiest category, the first page in your main menu or site header (or your newest page) and, with WooCommerce, the shop and one product. A page the scan didn't open still gets local fonts when they are already hosted – for example the same font with fewer weights. If a page uses a font that isn't hosted at all, add that page under Settings → Extra pages to scan. Fonts that appear only for logged-in users can't be seen by the scan. A font that a script adds after the page has loaded is listed under "Loaded another way" when the scan recognizes the script – with the theme or plugin that adds it, when the scan can tell – but it can't be moved.

Why can't icon fonts be hosted?

Icon fonts such as Material Icons and Material Symbols need Google's own stylesheet: it holds the rules that turn words like "home" into icons. Hosting only the font file would show words instead of icons, so the plugin leaves icon fonts on Google and tells you so.

What if scanning fails?

To scan, your site visits its own pages (a "loopback request"). Some hosts, firewalls or security plugins block this. Ask your host to "allow loopback requests" for your site; Tools → Site Health shows the same check. WooCommerce's "coming soon" mode is fine: the scan sees the real site. With another maintenance or "coming soon" plugin, or a password prompt, scan once the site is open.

I use a caching or optimization plugin. Anything to do?

After you host or stop hosting a font, the plugin clears the cache of popular caching plugins and tells you which one. If your host or a CDN caches pages, or your caching plugin isn't recognized, clear that cache yourself so cached pages pick up the local fonts.

How do I undo?

Click "Stop hosting" next to a font: your site loads it from Google again, and its files are removed a week later. To undo everything, deactivate the plugin – your site then loads fonts exactly as before.

What happens when I delete the plugin?

The downloaded font files are always removed, because they can be downloaded again. Settings and the list of found fonts stay, unless you turn on "Remove plugin data when the plugin is deleted" in Settings.

Is there a paid version?

Yes: Fontstay Pro, a separate add-on that runs next to the free plugin. The free plugin stays complete on its own. What Pro adds

Can I hide the notes about Fontstay Pro?

Yes. Click "Hide Pro notes" under a note: the notes stay hidden until you log in again. They are never shown while Fontstay Pro is installed, and site builders can turn them off with the fontstay_show_pro_notes filter.

Where can I get help?

Ask in the support forum of this plugin on WordPress.org. Support is free and best effort: we read the forum regularly and fix confirmed bugs in the next release. Please describe the steps and what you expected instead; never post passwords or other private data.

How do I report a security issue?

Please email office@wedoingood.com and do not post it in the support forum. We confirm the report, fix it and release an update.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.0 1.0.9 1.0.8