
內容簡介
Cherrylift 是一款專為 WordPress 設計的外掛,能夠選擇性地將內容從一個網站同步到另一個網站,避免整個資料庫的遷移,確保目標網站的其他內容不受影響。
【主要功能】
• 選擇性內容複製
• 自動包含依賴項
• 安全重複同步
• 參考重新映射
• 媒體檔案小心處理
• 支援 WP-CLI 和 REST API
外掛標籤
開發者團隊
② 後台搜尋「Cherrylift – Selective Content Sync」→ 直接安裝(推薦)
原文外掛簡介
Cherrylift copies the content you choose from one WordPress site to another, for example from staging to production, without migrating the database.
Copying a whole database (or whole tables) overwrites everything created on the target since the last sync: orders, user accounts, form entries, comments. Cherrylift only moves the items you pick, plus everything they depend on, and leaves the rest of the target site alone.
How it works
On the source site, go to Tools → Cherrylift → Export, select content and download a package (a zip file).
On the target site, upload it under Import. A preview shows what will be created or updated, and you can untick anything you don’t want to change.
Import. Every reference is remapped to the target site’s IDs and URLs.
Features
Dependencies included automatically: parent pages, categories and tags (with their parent terms), featured images, media used in blocks and galleries, and synced patterns.
Safe to repeat: every item gets a stable ID that travels with it, so syncing again updates the same content instead of duplicating it. Content created separately with the same slug is recognized too.
References remapped: parent pages, featured images, term hierarchy, image, gallery, cover, file and video block IDs, wp-image-… classes, shortcodes, media URLs (including every image size) and links to the source domain.
Media handled carefully: files are uploaded with WordPress’s usual checks and image sizes are regenerated; existing media is only replaced when the file actually changed.
Meta merged, not wiped: custom fields in the package are updated; fields that only exist on the target are kept.
Large packages are imported in batches with a progress bar.
Drafts, scheduled and private content can be synced and keep their status.
WP-CLI: wp cherrylift export and wp cherrylift import, including dry runs.
REST API for automation.
Developer-friendly: more than 25 actions and filters to change what is exported, how content is matched, which meta keys hold IDs, and more. See the hooks reference.
Translation-ready.
What is never synced
Users, comments, orders and other non-content data, by design. Site settings, themes, plugins, menus, templates and global styles are not synced either.
Source code
The full source code, tests and issue tracker are on GitHub. The admin screen’s JavaScript in build/ is compiled from src-js/ in that repository with @wordpress/scripts: run npm install and npm run build to rebuild it. Contributions are welcome; see CONTRIBUTING.md in the repository.
