{"id":107910,"date":"2019-08-17T16:20:51","date_gmt":"2019-08-17T16:20:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/advanced-custom-fields-flexible-content-preview\/"},"modified":"2021-08-26T18:34:27","modified_gmt":"2021-08-26T18:34:27","slug":"acf-flexible-content-preview","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/acf-flexible-content-preview\/","author":17448114,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.6","stable_tag":"trunk","tested":"5.8.13","requires":"4.7.0","requires_php":"5.6","requires_plugins":"","header_name":"Flexible Content Preview for Advanced Custom Fields","header_author":"Jameel Moses","header_description":"Transforms ACF's flexible content field's layout list into a modal with image previews.","assets_banners_color":"dcddec","last_updated":"2021-08-26 18:34:27","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/paypal.me\/jameelmoses","header_plugin_uri":"https:\/\/github.com\/jameelmoses\/acf-flexible-content-preview","header_author_uri":"https:\/\/github.com\/jameelmoses","rating":5,"author_block_rating":0,"active_installs":2000,"downloads":10643,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2141063,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2141063,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2141063,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2141063,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2141063,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2141063,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"See how Flexible Content Preview for Advanced Custom Fields improves the ACF flexible content field's layouts dropdown."}},"plugin_section":[],"plugin_tags":[2211,1391,527,2240,2235],"plugin_category":[59],"plugin_contributors":[175173],"plugin_business_model":[],"class_list":["post-107910","plugin","type-plugin","status-closed","hentry","plugin_tags-acf","plugin_tags-advanced","plugin_tags-custom","plugin_tags-field","plugin_tags-fields","plugin_category-utilities-and-tools","plugin_contributors-jameelmoses","plugin_committers-jameelmoses"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/acf-flexible-content-preview\/assets\/icon.svg?rev=2141063","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/acf-flexible-content-preview_dcddec.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/acf-flexible-content-preview\/assets\/screenshot-1.jpg?rev=2141063","caption":"See how Flexible Content Preview for Advanced Custom Fields improves the ACF flexible content field's layouts dropdown."}],"raw_content":"<!--section=description-->\n<p>Transforms ACF's flexible content field's layout list into a modal with image previews.<\/p>\n\n<h4>Image Conventions<\/h4>\n\n<ul>\n<li>The size of the image should be 732 x 300.<\/li>\n<li>They should be named based on the layout's name (<code>text_block<\/code>) with underscores converted to dashes (<code>text-block.jpg<\/code>).<\/li>\n<\/ul>\n\n<h4>Image Location<\/h4>\n\n<p>Images should be placed in your theme. Be fault, images are located here: <code>THEME\/lib\/admin\/images\/acf-flexible-content-preview<\/code>.<\/p>\n\n<p>Also note that you can filter this path, but it <strong>MUST<\/strong> be in your theme:<\/p>\n\n<pre><code>add_filter( 'acf-flexible-content-preview.images_path', $path );\n<\/code><\/pre>\n\n<p><strong>NOTE:<\/strong> The path should not have a trailing beginning or trailing slash!<\/p>\n\n<p>Additionally, you could filter all keys and\/or images:<\/p>\n\n<pre><code>add_filter( 'acf-flexible-content-preview.images', $images );\n<\/code><\/pre>\n\n<h4>Issues &amp; Feature Requests<\/h4>\n\n<p>If you identify any errors or have an idea for improving the plugin, feel free to open an <a href=\"https:\/\/github.com\/jameelmoses\/acf-flexible-content-preview\/issues\">issue<\/a> or <a href=\"https:\/\/github.com\/jameelmoses\/acf-flexible-content-preview\/pulls\">create a pull request<\/a>. Please provide as much info as needed in order to help resolving or approve your request.<\/p>\n\n<!--section=installation-->\n<p>This plugin works only if the <a href=\"https:\/\/www.advancedcustomfields.com\/\">ACF Pro &gt;= 5.7.O<\/a> plugin is installed and activated.<\/p>\n\nRequirements\n\n<ul>\n<li><a href=\"https:\/\/www.advancedcustomfields.com\/\">ACF Pro &gt;= 5.7.O<\/a> plugin<\/li>\n<li>WordPress 4.7+ because of <code>[get_theme_file_uri()](https:\/\/developer.wordpress.org\/reference\/functions\/get_theme_file_uri)<\/code><\/li>\n<li>Tested up to WP 5.3<\/li>\n<li>PHP 5.6+<\/li>\n<\/ul>\n\n<p>From your WordPress dashboard<\/p>\n\n<ol>\n<li><strong>Visit<\/strong> Plugins &gt; Add New<\/li>\n<li><strong>Search<\/strong> for \"Flexible Content Preview for Advanced Custom Fields\"<\/li>\n<li><strong>Activate<\/strong> Flexible Content Preview for Advanced Custom Fields from your Plugins page<\/li>\n<li><strong>Add images<\/strong> to your theme in <code>THEME\/lib\/admin\/images\/acf-flexible-content-preview<\/code> or customize the path using <code>add_filter( 'acf-flexible-content-preview.images_path', $path );<\/code><\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.6<\/h4>\n\n<p><em>Release Date - 26 Aug 2021<\/em><\/p>\n\n<ul>\n<li>Fixing issue with ACF version compare since it doesn't follow PHP version constraints<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<p><em>Release Date - 26 May 2021<\/em><\/p>\n\n<ul>\n<li>preview image not displaying when block name starts with a number. Thanks @QueroBartK!<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<p><em>Release Date - 18 Aug 2020<\/em><\/p>\n\n<ul>\n<li>Update hook for enqueuing and registering assets for ACF 5.9 compatibility. Thanks @elliottpost!<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<p><em>Release Date - 7 Apr 2020<\/em><\/p>\n\n<ul>\n<li>Fixes a bug related to nested fields<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<p><em>Release Date - 6 Apr 2020<\/em><\/p>\n\n<ul>\n<li>Supporting nested flexible content fields<\/li>\n<li>Updating dependencies<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<p><em>Release Date - 2 Dec 2019<\/em><\/p>\n\n<ul>\n<li>Resolving jQuery bug in WP 5.3<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p><em>Release Date - 16 Aug 2019<\/em><\/p>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Transforms ACF&#039;s flexible content field&#039;s layout list into a modal with image previews.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/107910","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=107910"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jameelmoses"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=107910"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=107910"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=107910"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=107910"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=107910"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=107910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}