{"id":395087,"date":"2024-03-14T08:00:00","date_gmt":"2024-03-14T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/field-block-for-acf-pro\/"},"modified":"2024-03-18T17:21:00","modified_gmt":"2024-03-18T17:21:00","slug":"field-block-for-acf-pro","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/field-block-for-acf-pro\/","title":{"rendered":"Field block for ACF PRO"},"content":{"rendered":"<p>The ACF field block displays individual fields registered using ACF.<\/p>\n<p>It supports the following field types:<\/p>\n<ul>\n<li>Basic: Text, Text Area, Number, Range, Email, URL, Password<\/li>\n<li>Content: Image, File, WYSIWYG Editor, oEmbed, Gallery<\/li>\n<li>Choice: Select, Checkbox, Radio Button, Button Group, True \/ False<\/li>\n<li>Relational: Link, Post Object, Page Link, Relationship, Taxonomy, User<\/li>\n<li>Advanced: Google Map, Date Picker, Date Time Picker, Time Picker, Color Picker<\/li>\n<li>Layout: Group, Clone, Repeater, Flexible Content<\/li>\n<\/ul>\n<p>Features<\/p>\n<ul>\n<li>Uses a single block \u2013 ACF field<\/li>\n<li>The block can be used within the Query Loop<\/li>\n<li>Most field types are rendered in the block editor.<\/li>\n<li>Supports display of the field\u2019s label, if required.<\/li>\n<\/ul>\n<p>This plugin depends on Advanced Custom Fields PRO; it uses the plugin\u2019s server side rendering block logic.<br \/>\nIf ACF PRO is not activated then the ACF field block will not be registered.<\/p>\n<p>For PHP developers<br \/>\nThe extensible architecture allows:<br \/>\n\u2013 overrides to rendering logic by field type,<br \/>\n\u2013 rendering for custom field types,<br \/>\n\u2013 rendering for custom field names<\/p>\n<p>If you want to alter the output from the <code>acf-field-block\/acf-field<\/code> block<br \/>\nthen you can either hook into the <code>render_block_acf-field-block\/acf-field<\/code> filter to<br \/>\nmodify the generated HTML,<br \/>\nor the <code>acf_field_block_get_renderer<\/code> filter to set your own callback function\/method<br \/>\nfor a field type or specific field.<\/p>\n<p>Google Map fields use JavaScript from maps.googleapis.com.<br \/>\nThe Google Map field requires an API key which you can obtain from<br \/>\nhttps:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key<\/p>\n","protected":false},"excerpt":{"rendered":"<p>No code solution to display ACF fields using the ACF field block.<\/p>\n","protected":false},"author":65,"featured_media":395179,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Field block for ACF PRO - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"No code solution to display ACF fields using the ACF field block."},"footnotes":""},"categories":[1],"tags":[1302,288,477],"class_list":["post-395087","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-acf","tag-block","tag-field"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/395087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=395087"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/395087\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/395179"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=395087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=395087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=395087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}