{"id":211454,"date":"2024-11-24T15:40:28","date_gmt":"2024-11-24T15:40:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/acf-copypaste-flexcontent-blocks\/"},"modified":"2025-10-04T15:11:09","modified_gmt":"2025-10-04T15:11:09","slug":"cp-blocks-for-acf","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/cp-blocks-for-acf\/","author":16970244,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.2","stable_tag":"0.4.2","tested":"6.8.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Copy\/Paste FlexContent Blocks for ACF","header_author":"Miroslav Curcic","header_description":"Feature for ACF that allows copy-paste flexible blocks.","assets_banners_color":"","last_updated":"2025-10-04 15:11:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/tekod","rating":5,"author_block_rating":0,"active_installs":600,"downloads":3428,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":{"0.3.1":{"tag":"0.3.1","author":"tekod","date":"2024-11-24 15:40:06"},"0.3.2":{"tag":"0.3.2","author":"tekod","date":"2024-12-14 13:56:26"},"0.4.0":{"tag":"0.4.0","author":"tekod","date":"2025-08-18 17:21:59"},"0.4.1":{"tag":"0.4.1","author":"tekod","date":"2025-10-04 14:58:18"},"0.4.2":{"tag":"0.4.2","author":"tekod","date":"2025-10-04 15:11:09"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3.1","0.3.2","0.4.0","0.4.1","0.4.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,2738,1481,4036,18126],"plugin_category":[59],"plugin_contributors":[169357],"plugin_business_model":[],"class_list":["post-211454","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-copy","plugin_tags-flexible","plugin_tags-layout","plugin_tags-paste","plugin_category-utilities-and-tools","plugin_contributors-tekod","plugin_committers-tekod","plugin_support_reps-miroslavcurcic"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cp-blocks-for-acf.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows you to clone flexible content blocks (layouts) to another page or site.\nThe entire contents of block will be transferred, including repeater items and its contents.<\/p>\n\n<p>It uses a regular clipboard to store content, so you can paste it to notepad application and use it later to populating other pages.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Simply install and activate the plugin. No settings available.<\/p>\n\n<p>The plugin will add a new option \"Copy layout\" to the header of each layout, and new menu at the bottom of the flexible container.<\/p>\n\n<p>Click on \"Copy layout\" option will copy the content of the block to the clipboard.\nIn the bottom menu on target page use \"Paste layouts\" option and new blocks will appear.\nNothing is saved unless you click the regular \"Update\" button.<\/p>\n\n<p>Bottom menu contains \"Copy all layouts\" to copy the entire flexible container to the clipboard.<\/p>\n\n<p>As a feature, this plugin will try to recognize the URLs in the pasted content and replace the source domain with the target one.\nThis is often required when moving blocks from a staging to a live environment to keep links local.<\/p>\n\n<h3>Limitations<\/h3>\n\n<p>This will not transfer media or posts.\nCoping fields that use ID-s to refer to a content (such as: media images, links, relationship...) to another website may link the wrong resource to the field because posts\/media on another site may have different ID-s.\nIn this case you must manually edit such fields and connect appropriate media\/posts.<\/p>\n\n<p>Only built-in field types are supported and tested.\nAdditional (extended) field types are likely to be copied as well, but without guarantees.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>This plugin contains code form other GPLv2 projects, credits go to:\n - https:\/\/www.acf-extended.com\n - https:\/\/wordpress.org\/plugins\/acf-flexible-layouts-manager\n - https:\/\/github.com\/magicstickuk\/Flexible-Content-Duplication<\/p>\n\n<p>\"ACF-extended\" has similar feature, but it didn't work on any of 20 sites I tested, probably because of the way how the flexible container is integrated into the project.\nSo I created a solution that works for me and shared publicly with everyone with the same problem.<\/p>\n\n<h3>Contact<\/h3>\n\n<p>Please, send bug reports and feature requests to <a href=\"mailto:office@tekod.com\">office@tekod.com<\/a><\/p>","raw_excerpt":"Extension for Advanced Custom Fields plugin that allows copy\/pasting layouts between pages or even sites.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/211454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=211454"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tekod"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=211454"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=211454"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=211454"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=211454"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=211454"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=211454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}