WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Duplicate Post

Clone posts and pages.

This plugin allows to clone a post or page, or edit it as a new draft. If you find this useful, please consider donating whatever sum you choose, even just 10 cents. It's been downloaded thousands of times: just a few cents from every user would help me develop the plugin and improve support.

How it works:

  1. In 'Edit Posts'/'Edit Pages', you can click on 'Clone' link below the post/page title: this will immediately create a copy and return to the list.

  2. In 'Edit Posts'/'Edit Pages', you can click on 'New Draft' link below the post/page title.

  3. On the post edit screen, you can click on 'Copy to a new draft' above "Cancel"/"Move to trash".

  4. While viewing a post as a logged in user, you can click on 'Copy to a new draft' as a dropdown link under "Edit Post" in the admin bar.

2, 3 and 4 will lead to the edit page for the new draft: change what you want, click on 'Publish' and you're done.

Pay attention to the new behaviour! The first way now allows you to clone a post with a single click, speeding up your work if you have many posts to duplicate.

There is also a template tag, so you can put it in your templates and clone your posts/pages from the front-end. Clicking on the link will lead you to the edit page for the new draft, just like the admin bar link.

In the Options page under Settings it is now possible to choose what to copy:

  • the original post/page date
  • the original post/page status (draft, published, pending), when cloning from the posts list
  • the original post/page excerpt
  • the original post/page attachments (actual files won't be copied)
  • all the children of the original page
  • which taxonomies and custom fields

You can also set a prefix (or a suffix) to place before (or after) the title of the cloned post/page, and the roles allowed to clone posts or pages.

If you want to contribute to translate the plugin in languages other than English, there is a GlotPress translation project available (no registration required! — You can also send me an e-mail using the form on my website).

If you're a plugin developer, I suggest to read the section made just for you under "Other Notes", to ensure compatibility between your plugin(s) and mine.

Thanks for all the suggestions, bug reports, translations and donations, they're frankly too many to be listed here!

Requires: 3.0 or higher
Compatible up to: 3.8.3
Last Updated: 2014-2-27
Downloads: 662,744

Ratings

4 stars
4.9 out of 5 stars

Support

2 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Works!

6 people say it works.
1 person says it's broken.

100,1,1 100,2,2
100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1
100,5,5 100,1,1
100,9,9 100,1,1 100,1,1
0,1,0 75,4,3 100,3,3
100,12,12
100,2,2
100,6,6 0,1,0 100,1,1
100,1,1
89,9,8 100,1,1
100,2,2
100,4,4
100,4,4
100,1,1
100,2,2 100,1,1
100,12,12 100,2,2 75,4,3 100,3,3
100,1,1 50,2,1 100,1,1 100,4,4 100,1,1 100,1,1 100,2,2
100,1,1 88,16,14 100,4,4 100,1,1 100,1,1
100,1,1 100,1,1 100,15,15
100,3,3
100,8,8
100,13,13
60,5,3
94,18,17
100,3,3
88,8,7
100,6,6
100,6,6
89,9,8 100,1,1 83,6,5
100,5,5
86,7,6