[WordPress] 外掛分享: Copy/Paste FlexContent Blocks for ACF

首頁外掛目錄 › Copy/Paste FlexContent Blocks for ACF
600+
安裝啟用
★★★★★
5/5 分(2 則評價)
165 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v0.4.2 上架:2024-11-23

內容簡介

總結:這款外掛讓你可以複製彈性內容區塊(佈局)到另一個頁面或網站,包括重複項目和其內容。使用常規剪貼板存儲內容,後續可以粘貼到記事本應用程序中,用於其他頁面的內容填寫。

1. 這個外掛可以做什麼?
- 允許你複製彈性內容區塊(佈局)到另一個頁面或網站。
- 包括重複項目和所有內容。

2. 如何使用這個外掛?
- 安裝並啟用外掛,無需進行設置。
- 點擊佈局頂部的新圖標"Copy layout",或在彈性容器底部的新菜單進行操作。
- 點擊"Copy layout"圖標將內容複製到剪貼板。
- 在目標頁面底部選擇"粘貼佈局"選項,即可出現新的區塊。

3. 這個外掛有哪些限制?
- 不能傳輸媒體或文章。
- 複製使用 ID 來引用內容(例如:媒體圖片、鏈接)的字段到其他位置可能引用錯誤資源。
- 只支持和測試內建字段類型。

4. 這個外掛有哪些來源?
- 這個外掛包含其他GPLv2項目的代碼,鳴謝:
- https://www.acf-extended.com
- https://wordpress.org/plugins/acf-flexible-layouts-manager
- https://github.com/magicstickuk/Flexible-Content-Duplication

5. 如需進一步資訊或回饋,請聯繫 [email protected]

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.4.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Copy/Paste FlexContent Blocks for ACF」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin allows you to clone flexible content blocks (layouts) to another page or site.
The entire contents of block will be transferred, including repeater items and its contents.
It uses a regular clipboard to store content, so you can paste it to notepad application and use it later to populating other pages.
Usage
Simply install and activate the plugin. No settings available.
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.
Click on “Copy layout” option will copy the content of the block to the clipboard.
In the bottom menu on target page use “Paste layouts” option and new blocks will appear.
Nothing is saved unless you click the regular “Update” button.
Bottom menu contains “Copy all layouts” to copy the entire flexible container to the clipboard.
As a feature, this plugin will try to recognize the URLs in the pasted content and replace the source domain with the target one.
This is often required when moving blocks from a staging to a live environment to keep links local.
Limitations
This will not transfer media or posts.
Coping 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.
In this case you must manually edit such fields and connect appropriate media/posts.
Only built-in field types are supported and tested.
Additional (extended) field types are likely to be copied as well, but without guarantees.
Credits
This plugin contains code form other GPLv2 projects, credits go to:
– https://www.acf-extended.com
– https://wordpress.org/plugins/acf-flexible-layouts-manager
– https://github.com/magicstickuk/Flexible-Content-Duplication
“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.
So I created a solution that works for me and shared publicly with everyone with the same problem.
Contact
Please, send bug reports and feature requests to [email protected]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon