{"id":42735,"date":"2016-05-06T00:40:14","date_gmt":"2016-05-06T00:40:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/acf-code-field\/"},"modified":"2019-05-11T00:21:06","modified_gmt":"2019-05-11T00:21:06","slug":"acf-code-field","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/acf-code-field\/","author":5724494,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.8","stable_tag":"1.8","tested":"5.2.24","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Advanced Custom Fields: ACF Code Field","header_author":"Peter Tasker","header_description":"","assets_banners_color":"2b393f","last_updated":"2019-05-11 00:21:06","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=ZFP4RL9XM2ZWW","header_plugin_uri":"http:\/\/petetasker.com","header_author_uri":"http:\/\/petetasker.com","rating":4.8,"author_block_rating":0,"active_installs":10000,"downloads":71555,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.6.3":"<ul>\n<li>CSS fix for flexible content areas<\/li>\n<\/ul>","1.6.2":"<ul>\n<li>Loading in all CodeMirror css themes as options for editor colors\n\n<ul>\n<li>Adding PHP support to the v4 plugin<\/li>\n<li>Updating codemirror to version 5.23<\/li>\n<\/ul><\/li>\n<\/ul>","1.6.1":"<ul>\n<li>Bumping tested up to version<\/li>\n<\/ul>","1.6":"<p>Adding PHP language editor support<\/p>","1.5":"<p>Adding support for using ACF Code Field inside Flexible Content and Repeater Fields<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":2,"5":9},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1411386","resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1411372","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.5","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.7","1.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1411372","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1411372","resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Settings page screenshot","2":"Editor screenshot with the Monokai theme enabled."}},"plugin_section":[],"plugin_tags":[2211,2217,1214,4541,2224],"plugin_category":[59],"plugin_contributors":[85949],"plugin_business_model":[],"class_list":["post-42735","plugin","type-plugin","status-closed","hentry","plugin_tags-acf","plugin_tags-advanced-custom-fields","plugin_tags-code","plugin_tags-code-editor","plugin_tags-codemirror","plugin_category-utilities-and-tools","plugin_contributors-ptasker","plugin_committers-ptasker"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/acf-code-field_2b393f.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/acf-code-field\/assets\/screenshot-1.png?rev=1411372","caption":"Settings page screenshot"},{"src":"https:\/\/ps.w.org\/acf-code-field\/assets\/screenshot-2.png?rev=1411372","caption":"Editor screenshot with the Monokai theme enabled."}],"raw_content":"<!--section=description-->\n<p>Code field for <a href=\"https:\/\/www.advancedcustomfields.com\">Advanced Custom Fields<\/a>. Works with ACF versions 4 (free) and 5 (Pro). Based on the <a href=\"https:\/\/codemirror.net\/\">Codemirror<\/a> javascript plugin.<\/p>\n\n<p>Plugin requires ACF free or pro to be installed to function.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/acf-code-field<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>In the ACF custom fields manager, the option for the code field will be under the \"Field Type\" drop down under \"Code Tools\"<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What version fo ACF does this work with?<\/dt>\n<dd><p>Currently the plugin works with the free (v4) and PRO (v5) versions.<\/p><\/dd>\n<dt>Does the plugin escape or sanitize any data?<\/dt>\n<dd><p>It doesn't. Though Codemirror has several settings to escape data, the plugin doesn't implement them<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.8<\/h4>\n\n<ul>\n<li>Fix up CodeMirror to update correctly with Gutenberg\/new Editor \ud83c\udf89\ud83d\udcaa<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Using WP Core's built-in CodeMirror JavaScript and CSS if &gt; WP 4.9<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<ul>\n<li>Updating tested up to 4.9<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Readme.txt fix for new UI<\/li>\n<li>CSS fix for flexible content areas<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Loading in all CodeMirror css themes as options for editor colors<\/li>\n<li>Adding PHP support to the v4 plugin<\/li>\n<li>Updating codemirror to version 5.23<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Bumping tested up to version<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Improvement: Adding PHP language editor support<\/li>\n<li>Improvement: Making height automatically grow to the height of the content<\/li>\n<li>Bug fix: Hidden panels using the code field need to be clicked on to display contents<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Bug Fix: Adding support for flexible content fields<\/li>\n<li>Bug Fix: Correctly adding multiple stylesheets if multiple fields themes are selected on the same page<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First deploy and commit to wordpress.org repository<\/li>\n<\/ul>","raw_excerpt":"Code field for Advanced Custom Fields (ACF)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42735"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ptasker"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42735"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42735"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42735"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42735"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42735"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}