Embed Google Fonts tries to automatically replace registered Google Fonts from themes and plugins with local versions, directly loaded from your own server.
- The first request might be slow, as fonts are downloaded and cached the first time they are requested.
- This doesn’t automatically replaces all your Google fonts with local versions. If a plugin/theme doens’t use WordPress wp_enqueue_style it propably won’t work.
- Loaded fonts are not optimized, means, the whole font including all subsets is loaded
Thank you: Fonts are downloaded using: https://google-webfonts-helper.herokuapp.com/fonts
Does this work with every theme and plugin?
No, themes and plugins must use wp_enqueue_style to load Google Fonts.
Does it work with caching plugins?
Generally yes. You may exclude some files, if there are problems.
Does it work with WP Rocket?
Yes, it is working wit WP Rocket.
Does it work with WP Fastest Cache?
If you are using WP Fastest Cache, you should create an exclude CSS rule for «_font.css»
Colaboradores y desarrolladores
«Embed Google Fonts» es un software de código abierto. Las siguientes personas han colaborado con este plugin.Colaboradores
Registro de cambios
- Avoid warning, when removing not existing file
- Added missing Oriya subset (#6)
- Improved stability
- Avoid loading icons from Google Fonts (shows a PHP warning)
- Remove support for Memorable theme
- Don’t show errors in frontend, when downloading a font didn’t worked.
- Removed version constant, as it isn’t used (EMBED_GOOGLE_FONTS_VERSION)
- Removed unnecessary error log
- Reverted file name of font.css to _font.css (for simpler WP Fastest Cache exclusion)
- Minor improvements
- Downloaded fonts will be cleared every 30 days automatically
- Downloaded fonts will be cleared, when «entire cache» is cleared in WP Rocket
- Downloaded fonts will be cleared, when cache is cleared in WP Fastest Cache
- Improved hoster compatible (used WordPress unzip_file)
- Fixed bug in family detection
- Prepared for first public release
- Fixed missing devanagari subset
- Fixed missing hebrew subset
- Fixed download url
- Uses standard cache folder for the fonts.
- Fonts are loaded and cached locally on the fly now. (from https://google-webfonts-helper.herokuapp.com/fonts)
- Added Work Sans, Karla, Alef, Permanent Marker, Amatic SC, Libre Baskerville, Roboto
- Improved theme compatibility (Elmastudio)
- Added Source Sans Pro and Anton
- Register fonts when needed and not all at the beginning (should improve performance)
- Added Domine
- Added Vollkorn, Montserrat and Forum
- Added Muli and Maven Pro
- Added Poppins and Questrial
- Improved Avada support
- Added Oswald and Indie Flower
- Improved filesystem access
- Added PT Sans
- Use filesystem for detecting embedded fonts
- Added Nunito and Raleway
- Added some fonts
- Hopefully finally fixed URL problems
- Improved url loading
- Reverted renaming
- Renamed _font.css to font.css
- Generic replacement of enqueued fonts
- Initial release