Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Clone Post With Unsaved Changes To A Draft Wordpress Plugin - Rating, Reviews, Demo & Download

Clone Post With Unsaved Changes To A Draft Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

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

Screenshots

  1. The Save As button in the block editor toolbar.

    The Save As button in the block editor toolbar.

  2. The Save As dialog with title, "don't ask", and visibility options.

    The Save As dialog with title, “don’t ask”, and visibility options.

  3. The Save As action in the post sidebar.

    The Save As action in the post sidebar.


Reviews & Comments