{"id":86256,"date":"2018-05-26T03:45:50","date_gmt":"2018-05-26T03:45:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/selfhost-google-fonts\/"},"modified":"2018-06-15T05:34:24","modified_gmt":"2018-06-15T05:34:24","slug":"selfhost-google-fonts","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/selfhost-google-fonts\/","author":5843732,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"trunk","tested":"4.9.29","requires":"4.0","requires_php":"5.4","requires_plugins":"","header_name":"Self-Hosted Google Fonts","header_author":"asadkn","header_description":"Automatically self-host your Google Fonts - works with any theme or plugin.","assets_banners_color":"","last_updated":"2018-06-15 05:34:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/asadkn\/","rating":4.8,"author_block_rating":0,"active_installs":30000,"downloads":153385,"num_ratings":40,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":1,"2":1,"3":1,"4":1,"5":36},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[154545,131785,3778,5126],"plugin_category":[43],"plugin_contributors":[87830],"plugin_business_model":[],"class_list":["post-86256","plugin","type-plugin","status-publish","hentry","plugin_tags-dsgvo","plugin_tags-gdpr","plugin_tags-google-fonts","plugin_tags-typography","plugin_category-customization","plugin_contributors-asadkn","plugin_committers-asadkn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/selfhost-google-fonts.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>An easy way to self-host all your Google Fonts for increased Privacy or to meet a law requirement. \nTheme 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.<\/p>\n\n<p>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.<\/p>\n\n<p><strong>How it works:<\/strong><\/p>\n\n<ul>\n<li>Converts all Google Font enqueues to locally hosted CSS files.<\/li>\n<li>Scans and converts any inline style tags using @imports for fonts.<\/li>\n<li>Processes all the local CSS files that weren't properly enqueued (bad authors?).<\/li>\n<li>While doing so, downloads all the required Google Fonts to your server.<\/li>\n<\/ul>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Automatic self-hosted fonts with no effort.<\/li>\n<li>Compatible with all themes and plugins.<\/li>\n<li>Supports IE9+ and all modern browsers.<\/li>\n<li>Optimized code benchmarked for performance.<\/li>\n<li>Built-in cache for processing.<\/li>\n<li>Compatible with cache plugins and Autoptimize.<\/li>\n<li>API and hooks for theme &amp; plugin authors.<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<p><strong>Dev Notes<\/strong><\/p>\n\n<p><em>Cache<\/em>: The most common reason for a failure. If you have a cache plugin, clear the caches.<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload\/Install and activate the plugin.<\/li>\n<li>Go to <em>Settings<\/em> &gt; Self-Hosted Google Fonts, Enable Processing and Save.<\/li>\n<li>Clear all caches from any cache plugin you may have active.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added an option to toggle protocol-relative URLs for generated CSS files.<\/li>\n<li>Fixed: Checkbox options not saving. <\/li>\n<li>Fixed: Italics not getting correct WOFF2 files.<\/li>\n<li>Added normalization to support regular\/bold as 400\/700.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload\/Install and activate the plugin.<\/li>\n<li>Go to <em>Settings<\/em> &gt; Self-Hosted Google Fonts, Enable Processing and Save.<\/li>\n<li>Clear all caches from any cache plugin you may have active.<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Automatically self-host all the Google Fonts on your site. Plug and play.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86256"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/asadkn"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86256"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86256"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86256"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86256"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86256"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}