[WordPress] 外掛分享: Clone Post with Unsaved Changes to a Draft

首頁外掛目錄 › Clone Post with Unsaved Changes to a Draft
WordPress 外掛 Clone Post with Unsaved Changes to a Draft 的封面圖片
全新外掛
安裝啟用
尚無評分
8 天前
最後更新
問題解決
WordPress 6.6+ PHP 7.4+ v1.0.1 上架:2026-07-08

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Clone Post with Unsaved Changes to a Draft」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Clone Post with Unsaved Changes to a Draft adds a Save As button to the WordPress block editor. One click copies the post you are editing — including its unsaved changes — into a brand-new draft and opens it, so you can branch, version, or template your content without manually duplicating anything.
It works for posts, pages, and any public custom post type, and copies the title, content, excerpt, featured image, taxonomies, discussion settings, format, template, and post meta.
Features

Save As button in the editor header, next to the native Save button.
The same action is also available in the post sidebar and the editor’s ⋮ (Options) menu.
A confirmation dialog lets you set the new draft’s title before copying.
“Don’t ask next time” turns the dialog off for instant copies — Ctrl/⌘-click the button to bring it back.
Hide the toolbar and/or sidebar button from the dialog; the ⋮ menu item always stays available.
Copies are always created as drafts, so you never overwrite the original.
Fully translatable (proper wp_set_script_translations integration).

How it works
The plugin reads the current editor state (including unsaved edits) and creates a new draft through the WordPress REST API, then redirects you to the new draft’s edit screen. Nothing is changed on the original post.
Development
Development happens on GitHub. Bug reports, feature requests, and pull requests are welcome:
https://github.com/alimuzzaman/clone-post-unsaved-changes

延伸相關外掛

文章
Filter
Apply Filters
Mastodon