{"id":87228,"date":"2018-06-19T13:18:23","date_gmt":"2018-06-19T13:18:23","guid":{"rendered":"https:\/\/de.wordpress.org\/plugins\/google-fonts-wrapper\/"},"modified":"2023-10-18T08:29:06","modified_gmt":"2023-10-18T08:29:06","slug":"wrap-google-fonts","status":"closed","type":"plugin","link":"https:\/\/cor.wordpress.org\/plugins\/wrap-google-fonts\/","author":8023631,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.2","stable_tag":"trunk","tested":"6.3.8","requires":"4.0","requires_php":"5.6","requires_plugins":null,"header_name":"Google-Fonts-Wrapper","header_author":"Jinx Digital <hello@jinx-digital.com>","header_description":"Downloads Google Fonts to your server","assets_banners_color":"e5b1b2","last_updated":"2023-10-18 08:29:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wrap-google-fonts\/","header_author_uri":"http:\/\/jinx-digital.com","rating":0,"author_block_rating":0,"active_installs":100,"downloads":2291,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2112150,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2112150,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2112150,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[154545,2221,158153,396,5127],"plugin_category":[54],"plugin_contributors":[158154],"plugin_business_model":[],"class_list":["post-87228","plugin","type-plugin","status-closed","hentry","plugin_tags-dsgvo","plugin_tags-fonts","plugin_tags-googlefonts","plugin_tags-privacy","plugin_tags-webfonts","plugin_category-security-and-spam-protection","plugin_contributors-lugat","plugin_committers-lugat"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wrap-google-fonts_e5b1b2.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The plugin will automatically parse all registered styles and import the ressources from Google to your server and load them.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Simply include the fonts from Google by using <code>wp_enqueue_scripts<\/code>.<\/p>\n\n<p>The plugin will parse the URL from the enqueued stylesheets and detect front from Google.<\/p>\n\n<p>The files will be downloaded to your server and the CSS will be changed to match the new paths.<\/p>\n\n<p>You may flush the fonts from your server using the button in the admin bar.<\/p>\n\n<h3>Notes<\/h3>\n\n<p>When using multiple fonts in one style-tag, please make sure to use no load the script without a version, to avoid WordPress from normalizing the URL.<\/p>\n\n<pre><code>wp_enqueue_style('...', '...', [], null);\n<\/code><\/pre>\n\n<p>As Google will accept the parameter <code>family<\/code> multiple times, WordPress will merge them into one.<\/p>\n\n<p>Be aware, that some caching plugins which also provide minification, may cause this plugin to break, as the fonts will be parsed before the plugin hook.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the downloaded package<\/li>\n<li>Upload <code>wp-google-fonts-wrapper<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>","raw_excerpt":"The plugin will automatically parse all registered styles and import the ressources from Google to your server and load them.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/87228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=87228"}],"author":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lugat"}],"wp:attachment":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=87228"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=87228"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=87228"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=87228"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=87228"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=87228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}