Aquesta extensió no s'ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s'usa en versions recents del WordPress.

Self-Hosted Google Fonts

Descripció

An easy way to self-host all your Google Fonts for increased Privacy or to meet a law requirement.
Theme and plugin authors are often unwilling to offer a self-hosted method and it’s quite laborious to download and upload each of the required font.

This plugin makes it all easy. It will scan all CSS on your site and automagically download and host on your server the necessary Google Web Fonts.

How it works:

  • Converts all Google Font enqueues to locally hosted CSS files.
  • Scans and converts any inline style tags using @imports for fonts.
  • Processes all the local CSS files that weren’t properly enqueued (bad authors?).
  • While doing so, downloads all the required Google Fonts to your server.

Features:

  • Automatic self-hosted fonts with no effort.
  • Compatible with all themes and plugins.
  • Supports IE9+ and all modern browsers.
  • Optimized code benchmarked for performance.
  • Built-in cache for processing.
  • Compatible with cache plugins and Autoptimize.
  • API and hooks for theme & plugin authors.
  • Uses unicode-range for optimized fonts when using multiple subsets. Google officially does this too, but other solutions for downloading fonts don’t support this.

Dev Notes

Cache: The most common reason for a failure. If you have a cache plugin, clear the caches.

It will not work with JS solutions like WebFont Loader. If you’re a developer, you can still use this plugin’s API to get the needed CSS and files to convert your WebFont Loader. I will post instructions on support forums if there’s interest.

Instal·lació

  1. Upload/Install and activate the plugin.
  2. Go to Settings > Self-Hosted Google Fonts, Enable Processing and Save.
  3. Clear all caches from any cache plugin you may have active.

PMF

Installation Instructions
  1. Upload/Install and activate the plugin.
  2. Go to Settings > Self-Hosted Google Fonts, Enable Processing and Save.
  3. Clear all caches from any cache plugin you may have active.

Ressenyes

26 març 2022
I don't understand all the positive reviews. First of all, the plugin does not work always. Sometimes it works, sometimes not. What are the requirements that it works properly? Second, there is no support anymore which can be a security risk (and see point first, does not work reliable). The last update was 4 years ago. But this is not a must.
22 febrer 2022
Been using this for a little bit now and just noticed it's 4yrs last updated... Bit concerned haha. Would you mind checking things out and making sure that it is still simple enough to be safe, without need of update to help us know? Thank you so much for your efforts!
14 febrer 2022
Looks like it is still working. There were no problems at all on my website.
3 febrer 2022
The plugin is so incredibly good. I am worried that it will stop working soon. It still works for me with WP 5.9, but what's the next step? I would be hugely happy if it also runs in future versions. Please, please continue 🙂
16 gener 2021
I loved this addon. But unfortunately: it's dead. No updates for 3 years, no support... Too bad.
5 maig 2020
A MUST for any wordpress user who has a template with google fonts. Simple to use and increases not only the website speed but also your visitor's privacy.
Llegiu totes les 35 ressenyes

Col·laboradors i desenvolupadors

"Self-Hosted Google Fonts" és programari de codi obert. La següent gent ha contribuït en aquesta extensió.

Contribuïdors

Registre de canvis

1.0.1

  • Added an option to toggle protocol-relative URLs for generated CSS files.
  • Fixed: Checkbox options not saving.
  • Fixed: Italics not getting correct WOFF2 files.
  • Added normalization to support regular/bold as 400/700.

1.0.0

  • Initial release.