{"id":81792,"date":"2018-02-17T23:52:56","date_gmt":"2018-02-17T23:52:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/elegant-custom-fonts\/"},"modified":"2023-08-13T21:54:31","modified_gmt":"2023-08-13T21:54:31","slug":"elegant-custom-fonts","status":"publish","type":"plugin","link":"https:\/\/ibo.wordpress.org\/plugins\/elegant-custom-fonts\/","author":15966339,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.3.8","requires":"4.1","requires_php":"","requires_plugins":null,"header_name":"Elegant Custom Fonts","header_author":"Louis Reingold","header_description":"Plugin appears in Settings -> Fonts. For each @font-face, specify .woff URL, weight, style, and a font family name. Appropriate @font-face rules will be saved to a CSS file and enqueued with wp_enqueue_stylesheet, so that you can use the font with the font-family CSS property.","assets_banners_color":"312f2d","last_updated":"2023-08-13 21:54:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/breakdance.com\/","rating":5,"author_block_rating":0,"active_installs":3000,"downloads":26603,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"louisreingold","date":"2018-02-17 23:58:10"},"1.0.1":{"tag":"1.0.1","author":"louisreingold","date":"2023-08-13 21:54:31"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2952979,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2952979,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2952979,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2952979,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[7830,8630,1079,5126,153293],"plugin_category":[43],"plugin_contributors":[153294],"plugin_business_model":[],"class_list":["post-81792","plugin","type-plugin","status-publish","hentry","plugin_tags-font-face","plugin_tags-custom-fonts","plugin_tags-font","plugin_tags-typography","plugin_tags-woff","plugin_category-customization","plugin_contributors-louisreingold","plugin_committers-louisreingold"],"banners":{"banner":"https:\/\/ps.w.org\/elegant-custom-fonts\/assets\/banner-772x250.png?rev=2952979","banner_2x":"https:\/\/ps.w.org\/elegant-custom-fonts\/assets\/banner-1544x500.png?rev=2952979","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/elegant-custom-fonts\/assets\/icon-128x128.png?rev=2952979","icon_2x":"https:\/\/ps.w.org\/elegant-custom-fonts\/assets\/icon-256x256.png?rev=2952979","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin appears at Settings -&gt; Fonts.<\/p>\n\n<p>For each @font-face, specify .woff URL, weight, style, and a font family name.<\/p>\n\n<p>Appropriate @font-face rules will be saved to a CSS file and enqueued with wp_enqueue_stylesheet, so that you can use the font with the font-family CSS property.<\/p>\n\n<p>No nonsense. No API keys. No font conversion. No bloat.<\/p>\n\n<h4>Integration Instructions for Plugin &amp; Theme Developers<\/h4>\n\n<p>Use ECF_Plugin::get_font_families() to get a list of font families added with Elegant Custom Fonts. Then add these to any \u201cFont\u201d dropdowns in your plugin or theme.<\/p>\n\n<p>Example:<\/p>\n\n<p>if (class_exists('ECF_Plugin')) {\n    $font_family_list = ECF_Plugin::get_font_families();\n} else {\n    $font_family_list = null;\n}<\/p>\n\n<p>\/* loop through the $font_family_list array and add each family to your \u2018Font\u2019 dropdowns *\/<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20work%20with%20joomla%3F'><h3>Does this plugin work with Joomla?<\/h3><\/dt>\n<dd><p>No.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix CSRF vulnerability<\/li>\n<li>Fix PHP warnings<\/li>\n<li>Update Author URI<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A simple solution for self-hosted custom fonts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/81792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=81792"}],"author":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/louisreingold"}],"wp:attachment":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=81792"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=81792"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=81792"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=81792"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=81792"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=81792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}