{"id":51615,"date":"2016-10-17T03:10:34","date_gmt":"2016-10-17T03:10:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/acf-typography-field\/"},"modified":"2024-03-06T16:22:53","modified_gmt":"2024-03-06T16:22:53","slug":"acf-typography-field","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/acf-typography-field\/","author":10945272,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.2.3","stable_tag":"3.2.3","tested":"6.4.8","requires":"3.5.0","requires_php":"","requires_plugins":null,"header_name":"Advanced Custom Fields: Typography Field","header_author":"Mujahid Ishtiaq","header_description":"","assets_banners_color":"ffffff","last_updated":"2024-03-06 16:22:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/acf-typography-field","header_author_uri":"https:\/\/github.com\/mujahidi","rating":4.6,"author_block_rating":0,"active_installs":3000,"downloads":38228,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"mujahid158","date":"2017-06-29 08:21:56"},"1.1.1":{"tag":"1.1.1","author":"mujahid158","date":"2017-06-29 09:35:12"},"2.0.0":{"tag":"2.0.0","author":"mujahid158","date":"2017-08-24 08:22:09"},"2.1.0":{"tag":"2.1.0","author":"mujahid158","date":"2018-05-07 19:22:59"},"2.2.0":{"tag":"2.2.0","author":"mujahid158","date":"2019-05-21 15:28:56"},"3.0.0":{"tag":"3.0.0","author":"mujahid158","date":"2021-03-05 17:23:03"},"3.1.0":{"tag":"3.1.0","author":"mujahid158","date":"2021-06-15 13:46:13"},"3.2.0":{"tag":"3.2.0","author":"mujahid158","date":"2021-07-08 17:18:17"},"3.2.1":{"tag":"3.2.1","author":"mujahid158","date":"2021-08-30 15:18:59"},"3.2.2":{"tag":"3.2.2","author":"mujahid158","date":"2022-04-26 16:22:02"},"3.2.3":{"tag":"3.2.3","author":"mujahid158","date":"2024-03-06 16:22:53"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":1,"4":0,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2560712,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2560712,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2560712,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2560712,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.1.1","2.0.0","2.1.0","2.2.0","3.0.0","3.1.0","3.2.0","3.2.1","3.2.2","3.2.3"],"block_files":[],"assets_screenshots":{"screenshot-3.png":{"filename":"screenshot-3.png","revision":3046453,"resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3046453,"resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3046453,"resolution":"2","location":"plugin"}},"screenshots":{"1":"<p>Typography Field Settings<\/p>","2":"<p>Typography Field Content Editing<\/p>","3":"<p>Google Key Field required for Google Fonts<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,1088,83,2217,5126],"plugin_category":[43,59],"plugin_contributors":[125298],"plugin_business_model":[],"class_list":["post-51615","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-addon","plugin_tags-admin","plugin_tags-advanced-custom-fields","plugin_tags-typography","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-mujahid158","plugin_committers-mujahid158"],"banners":{"banner":"https:\/\/ps.w.org\/acf-typography-field\/assets\/banner-772x250.png?rev=2560712","banner_2x":"https:\/\/ps.w.org\/acf-typography-field\/assets\/banner-1544x500.png?rev=2560712","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/acf-typography-field\/assets\/icon-128x128.png?rev=2560712","icon_2x":"https:\/\/ps.w.org\/acf-typography-field\/assets\/icon-256x256.png?rev=2560712","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/acf-typography-field\/trunk\/screenshot-1.png?rev=3046453","caption":"<p>Typography Field Settings<\/p>"},{"src":"https:\/\/ps.w.org\/acf-typography-field\/trunk\/screenshot-2.png?rev=3046453","caption":"<p>Typography Field Content Editing<\/p>"},{"src":"https:\/\/ps.w.org\/acf-typography-field\/trunk\/screenshot-3.png?rev=3046453","caption":"<p>Google Key Field required for Google Fonts<\/p>"}],"raw_content":"<!--section=description-->\n<p>Typography field type for \"Advanced Custom Fields\" plugin that lets you add different text properties e.g. Font Size, Font Family, Font Color etc.<\/p>\n\n<h4>Supported Subfields<\/h4>\n\n<ul>\n<li>Font Size<\/li>\n<li>Font Family<\/li>\n<li>Font Weight<\/li>\n<li>Font Style<\/li>\n<li>Font Variant<\/li>\n<li>Font Stretch<\/li>\n<li>Line Height<\/li>\n<li>Letter Spacing<\/li>\n<li>Text Align<\/li>\n<li>Text Color<\/li>\n<li>Text Decoration<\/li>\n<li>Text Transform<\/li>\n<\/ul>\n\n<h4>Other Features<\/h4>\n\n<ul>\n<li>Supports Google Fonts. The selected Google Fonts are automatically enqueued on front-end of posts\/pages. Google Fonts also work with ACF Options.<\/li>\n<li>Supports Gutenberg Blocks created with ACF.<\/li>\n<li>Option to show\/hide each subfield individually<\/li>\n<li>Option to make each subfield required individually<\/li>\n<li>Color Picker for Text Color subfield<\/li>\n<\/ul>\n\n<h4>Documentation<\/h4>\n\n<pre><code>\/\/ Returns the value of a specific property\nget_typography_field( $selector, $property, [$post_id], [$format_value] );\n\n\/\/ Displays the value of a specific property\nthe_typography_field( $selector, $property, [$post_id], [$format_value] );\n\n\/\/ Returns the value of a specific property from a sub field.\nget_typography_sub_field( $selector, $property, [$format_value] );\n\n\/\/ Displays the value of a specific property from a sub field.\nthe_typography_sub_field( $selector, $property, [$format_value] );\n<\/code><\/pre>\n\n<h4>Shortcode<\/h4>\n\n<pre><code>[acf_typography field=\"field-name\" property=\"font_size\" post_id=\"123\" format_value=\"1\"]\n<\/code><\/pre>\n\n<h4>Github repository<\/h4>\n\n<p><a href=\"https:\/\/github.com\/mujahidi\/acf-typography\">@mujahidi\/acf-typography<\/a><\/p>\n\n<h4>Compatibility<\/h4>\n\n<p>This ACF field type is compatible with:\n* Free and paid versions of the ACF plugin<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Copy the <code>acf-typography-field<\/code> folder into your <code>wp-content\/plugins<\/code> folder<\/li>\n<li>Activate the Typography plugin via the plugins admin page<\/li>\n<li>Google API Key is required for Google Fonts. Please add one by going to <code>WordPress Admin Dashboard &gt; Settings &gt; ACF Typography Settings<\/code><\/li>\n<li>Create a new field via ACF and select the Typography type<\/li>\n<li>Please refer to the description for more info regarding the field type settings<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='q.%20is%20it%20compatible%20with%20acf%20pro%3F'><h3>Q. Is it compatible with ACF Pro?<\/h3><\/dt>\n<dd><p>A. Yes. This plugin is compatiable with both free and paid ACF plugins.<\/p><\/dd>\n<dt id='q.%20does%20it%20support%20google%20fonts%3F'><h3>Q. Does it support Google Fonts?<\/h3><\/dt>\n<dd><p>A. Version 3.0.0 and greater supports Google Fonts<\/p><\/dd>\n<dt id='q.%20why%20i%20do%20not%20see%20google%20fonts%20in%20the%20font%20family%20drop%20down%3F'><h3>Q. Why I do not see Google Fonts in the Font Family drop down?<\/h3><\/dt>\n<dd><p>A. Google API Key is required for Google Fonts. Please add one by going to <code>WordPress Admin Dashboard &gt; Settings &gt; ACF Typography Settings<\/code><\/p><\/dd>\n<dt id='q.%20does%20it%20enqueue%20selected%20google%20fonts%3F'><h3>Q. Does it enqueue selected Google Fonts?<\/h3><\/dt>\n<dd><p>A. Yes. This plugin automatically enqueues user selected Google Fonts to front-end of posts\/pages.<\/p><\/dd>\n<dt id='q.%20does%20it%20support%20gutenberg%20blocks%3F'><h3>Q. Does it support Gutenberg Blocks?<\/h3><\/dt>\n<dd><p>A. Yes. This plugin does support Gutenberg Blocks created with ACF.<\/p><\/dd>\n<dt id='q.%20how%20can%20i%20contribute%3F'><h3>Q. How can I contribute?<\/h3><\/dt>\n<dd><p>A. Join in on Github repository <a href=\"https:\/\/github.com\/mujahidi\/acf-typography\">@mujahidi\/acf-typography<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.2.3<\/h4>\n\n<ul>\n<li>Added new font-weight values<\/li>\n<\/ul>\n\n<h4>3.2.2<\/h4>\n\n<ul>\n<li>Fixed google fonts url too long issue<\/li>\n<\/ul>\n\n<h4>3.2.1<\/h4>\n\n<ul>\n<li>Fixed typo and bugs<\/li>\n<\/ul>\n\n<h4>3.2.0<\/h4>\n\n<ul>\n<li>[NEW] Added 'initial' and 'inherit' values for 'font-family' property.<\/li>\n<li>[NEW] Added support for ACF Blocks.<\/li>\n<li>[BUG] Fixed a PHP notice when any post does not have ACF Typography fields setup.<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>[NEW] Google Fonts support for ACF Options<\/li>\n<li>[BUG] Different font weights were not enqueued when used in a repeater field<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>[NEW] Introduces functions and shortcode<\/li>\n<li>[NEW] Hides nonselected properties in fieldgroup edit page<\/li>\n<li>[NEW] Supports Google Fonts<\/li>\n<li>[NEW] Enqueue google fonts CSS on page\/post<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>[NEW] Font Stretch subfield<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>[NEW] Font Variant subfield<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>[NEW] Now supports ACF 5 (Pro version)<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed a bug<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>[NEW] Text Transform subfield<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"A Typography Add-on for the Advanced Custom Fields Plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51615"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mujahid158"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51615"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51615"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51615"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51615"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51615"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}