{"id":87250,"date":"2018-06-14T06:02:50","date_gmt":"2018-06-14T06:02:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/embed-google-fonts\/"},"modified":"2024-05-02T08:28:18","modified_gmt":"2024-05-02T08:28:18","slug":"embed-google-fonts","status":"publish","type":"plugin","link":"https:\/\/mn.wordpress.org\/plugins\/embed-google-fonts\/","author":11414715,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.1.1","stable_tag":"3.1.1","tested":"6.5.8","requires":"6.5.2","requires_php":"8.0","requires_plugins":null,"header_name":"Embed Google Fonts","header_author":"Adrian M\u00f6rchen + Contributors","header_description":"Helper plugin for embedding Google fonts.","assets_banners_color":"2673bc","last_updated":"2024-05-02 08:28:18","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/paypalme\/scrobbleme\/5","header_plugin_uri":"https:\/\/github.com\/moewe-io\/embed-google-fonts","header_author_uri":"https:\/\/moerchen.io\/","rating":5,"author_block_rating":0,"active_installs":6000,"downloads":50924,"num_ratings":12,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"2.0.6":{"tag":"2.0.6","author":"Adrian2k7","date":"2018-07-05 11:55:04"},"2.1.1":{"tag":"2.1.1","author":"Adrian2k7","date":"2018-10-22 19:45:29"},"2.2.1":{"tag":"2.2.1","author":"Adrian2k7","date":"2020-02-25 13:47:24"},"2.2.4":{"tag":"2.2.4","author":"Adrian2k7","date":"2021-03-17 16:55:06"},"2.3.1":{"tag":"2.3.1","author":"Adrian2k7","date":"2022-02-15 09:05:37"},"3.0.2":{"tag":"3.0.2","author":"Adrian2k7","date":"2022-10-28 13:10:54"},"3.1.0":{"tag":"3.1.0","author":"Adrian2k7","date":"2022-12-05 15:16:38"},"3.1.1":{"tag":"3.1.1","author":"Adrian2k7","date":"2024-05-02 08:28:18"}},"upgrade_notice":{"":"<p>Nothing special<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":12},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1892571,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1892571,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1892621,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1892621,"resolution":"772x250","location":"assets","locale":""},"banner.svg":{"filename":"banner.svg","revision":1892621,"resolution":false,"location":"assets","locale":false}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.6","2.1.1","2.2.1","2.2.4","2.3.1","3.0.2","3.1.0","3.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[230,131785,3778],"plugin_category":[56],"plugin_contributors":[81870,84207,129348],"plugin_business_model":[],"class_list":["post-87250","plugin","type-plugin","status-publish","hentry","plugin_tags-embed","plugin_tags-gdpr","plugin_tags-google-fonts","plugin_category-social-and-sharing","plugin_contributors-adrian2k7","plugin_contributors-creabrain","plugin_contributors-moewe","plugin_committers-adrian2k7"],"banners":{"banner":"https:\/\/ps.w.org\/embed-google-fonts\/assets\/banner-772x250.png?rev=1892621","banner_2x":"https:\/\/ps.w.org\/embed-google-fonts\/assets\/banner-1544x500.png?rev=1892621","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/embed-google-fonts\/assets\/icon-128x128.png?rev=1892571","icon_2x":"https:\/\/ps.w.org\/embed-google-fonts\/assets\/icon-256x256.png?rev=1892571","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Embed Google Fonts tries to automatically replace registered Google Fonts from themes and plugins with local versions, directly loaded from your own server.<\/p>\n\n<p><strong>Contribute<\/strong>: <a href=\"https:\/\/github.com\/moewe-io\/embed-google-fonts\">https:\/\/github.com\/moewe-io\/embed-google-fonts<\/a><\/p>\n\n<p><strong>Notes<\/strong><\/p>\n\n<ul>\n<li>The first request might be very slow, as fonts are downloaded and cached the first time they are requested.<\/li>\n<li>This doesn't automatically replace all your Google fonts with local versions. If a plugin\/theme doesn't use WordPress wp_enqueue_style it probably won't work.<\/li>\n<li>Loaded fonts are not optimized, means, the whole font including all subsets is loaded<\/li>\n<li>See FAQ for instructions to use locally hosted fonts directly and avoid using Heroku<\/li>\n<\/ul>\n\n<p><strong>Thank you:<\/strong> Fonts are downloaded using: <a href=\"https:\/\/gwfh.mranftl.com\/fonts\">https:\/\/gwfh.mranftl.com\/fonts<\/a><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20use%20locally%20stored%20fonts%20directly%3F'><h3>How to use locally stored fonts directly?<\/h3><\/dt>\n<dd><p>It is possible to avoid using Heroku and directly use locally hosted fonts.<\/p>\n\n<p>Easy way:<\/p>\n\n<ul>\n<li>Let the plugin download the fonts\n\n<ul>\n<li>Click the button in the plugin list overview ;)<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p>Custom way:<\/p>\n\n<ul>\n<li>Create a folder \"embed-google-fonts\" in your \"wp-content\" folder<\/li>\n<li>For every font create a subfolder, i.e. \"embed-google-fonts\/open-sans\/\"\n\n<ul>\n<li>Create a file \"embed-google-fonts\/open-sans\/_font.css\"<\/li>\n<li>Edit your \"_font.css\" to include rules for loading your local font<\/li>\n<\/ul><\/li>\n<\/ul><\/dd>\n<dt id='does%20this%20work%20with%20every%20theme%20and%20plugin%3F'><h3>Does this work with every theme and plugin?<\/h3><\/dt>\n<dd><p>No, themes and plugins must use wp_enqueue_style to load Google Fonts.\nJust try it, if it works, than you are fine.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20caching%20plugins%3F'><h3>Does it work with caching plugins?<\/h3><\/dt>\n<dd><p>Generally yes. You may exclude some files, if there are problems.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20wp%20rocket%3F'><h3>Does it work with WP Rocket?<\/h3><\/dt>\n<dd><p>Yes, it is working with WP Rocket.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20wp%20fastest%20cache%3F'><h3>Does it work with WP Fastest Cache?<\/h3><\/dt>\n<dd><p>If you are using <a href=\"https:\/\/de.wordpress.org\/plugins\/wp-fastest-cache\/\">WP Fastest Cache<\/a>, you should create an exclude CSS rule for \"_font.css\"<\/p><\/dd>\n<dt id='does%20it%20work%20with%20divi%3F'><h3>Does it work with Divi?<\/h3><\/dt>\n<dd><p>You have to disable<\/p>\n\n<ul>\n<li><strong>Improve Google Fonts Loading<\/strong> and<\/li>\n<li><strong>Defer jQuery And jQuery Migrate<\/strong><\/li>\n<\/ul>\n\n<p>in<\/p>\n\n<ul>\n<li><strong>Divi \u2192 Theme Options \u2192 General \u2192 Performance<\/strong><\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.1.1<\/h4>\n\n<ul>\n<li>Improved security: Added a nonce and capability (manage_options) check<\/li>\n<li>Requires PHP 8.0+ now<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>Fixed URL to new download server (Thanks brauni85 via Github)<\/li>\n<li>Fixed typo in key for locking (Thanks Thomas)<\/li>\n<\/ul>\n\n<h4>3.0.2<\/h4>\n\n<ul>\n<li>Allow installation with PHP 7.3, because of high demand (Please note: It is highly recommended to upgrade to newer PHP)<\/li>\n<li>Fixed typo (Thanks Jenny)<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>Reverted renaming of _font.css (again)<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Fonts may be stored locally now and will be loaded from there. This may avoid poor performance, when the remote server isn't available\n\n<ul>\n<li>See FAQ for more information<\/li>\n<\/ul><\/li>\n<li>Removed direct Avada support<\/li>\n<li>Renamed \"_font.css\" to \"font.css\"<\/li>\n<li>Added korean subset (Thanks @phl23)<\/li>\n<li>Code refactoring<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Avoid warning, when removing not existing file<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Added missing Oriya subset (#6)<\/li>\n<li>Improved stability<\/li>\n<\/ul>\n\n<h4>2.2.4<\/h4>\n\n<ul>\n<li>Avoid loading icons from Google Fonts (shows a PHP warning)<\/li>\n<li>Remove support for Memorable theme<\/li>\n<\/ul>\n\n<h4>2.2.3<\/h4>\n\n<ul>\n<li>Don't show errors in frontend, when downloading a font didn't worked.<\/li>\n<li>Removed version constant, as it isn't used (EMBED_GOOGLE_FONTS_VERSION)<\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>Removed unnecessary error log<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Reverted file name of font.css to _font.css (for simpler WP Fastest Cache exclusion)<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Minor improvements<\/li>\n<li>Downloaded fonts will be cleared every 30 days automatically<\/li>\n<li>Downloaded fonts will be cleared, when \"entire cache\" is cleared in WP Rocket<\/li>\n<li>Downloaded fonts will be cleared, when cache is cleared in WP Fastest Cache<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Improved hoster compatible (used WordPress unzip_file)<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>Fixed bug in family detection<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>Prepared for first public release<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Fixed missing devanagari subset<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Fixed missing hebrew subset<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fixed download url<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Uses standard cache folder for the fonts.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Fonts are loaded and cached locally on the fly now. (from https:\/\/google-webfonts-helper.herokuapp.com\/fonts)<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Added Work Sans, Karla, Alef, Permanent Marker, Amatic SC, Libre Baskerville, Roboto<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Improved theme compatibility (Elmastudio)<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Added Source Sans Pro and Anton<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Register fonts when needed and not all at the beginning (should improve performance)<\/li>\n<li>Added Domine<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Added Vollkorn, Montserrat and Forum<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Added Muli and Maven Pro<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Added Poppins and Questrial<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Improved Avada support<\/li>\n<li>Added Oswald and Indie Flower<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Improved filesystem access<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added PT Sans<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Use filesystem for detecting embedded fonts<\/li>\n<\/ul>\n\n<h4>1.1.6<\/h4>\n\n<ul>\n<li>Added Nunito and Raleway<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Added some fonts<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Hopefully finally fixed URL problems<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Improved url loading<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Reverted renaming<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Renamed _font.css to font.css<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Generic replacement of enqueued fonts<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Embed Google Fonts tries to automatically replace registered Google Fonts from themes and plugin with local versions, directly loaded from your own se &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/87250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=87250"}],"author":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/adrian2k7"}],"wp:attachment":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=87250"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=87250"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=87250"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=87250"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=87250"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=87250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}