This plugin allows users to clone posts of any type, or copy them to new drafts for further editing.
How it works:
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.
In «Edit Posts’/’Edit Pages», you can select one or more items, then choose «Clone» in the «Bulk Actions» dropdown to copy them all at once.
In «Edit Posts’/’Edit Pages», you can click on «New Draft» link below the post/page title.
On the post edit screen, you can click on «Copy to a new draft» above «Cancel»/»Move to trash» or in the admin bar.
While viewing a post as a logged in user, you can click on «Copy to a new draft» in the admin bar.
3, 4 and 5 will lead to the edit page for the new draft: change what you want, click on «Publish» and you’re done.
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.
If you find this useful and if you want to contribute, there are two ways:
Use WordPress» Add New Plugin feature, searching «Duplicate Post», or download the archive and:
- Unzip the archive on your computer
duplicate-postdirectory to the
- Activate the plugin through the «Plugins» menu in WordPress
- Go to Settings -> Duplicate Post and customize behaviour as needed
The plugin doesn’t work, why?
First, check your version of WordPress: the plugin is not supposed to work on old versions anymore. Make sure also to upgrade to the last version of the plugin!
Then try to deactivate and re-activate it, some user have reported that this fixes some problems.
Pay also attention to the «Permissions» tab in the Settings: make sure the plugin is enabled for the desired roles and post types.
If it still doesn’t work, maybe there is some kind of conflict with other plugins: feel free to write in the forum and we’ll try to discover a solution (it will be really helpful if you try to deactivate all your other plugins one by one to see which one conflicts with mine… But do it only if you know what you’re doing, I will not be responsible of any problem you may experience).
The plugin is not translated in my language!
From version 3.0 the plugin’s translations are managed by the WordPress.org platform and the plugin is shipped without language files, so first of all update translations under Dashboard->Updates.
If Duplicate Post is still in English, or if there are some untranslated strings, you can help translating to your language: you only need a WordPress.org account.
Bidragsytarar og utviklarar
“Yoast Duplicate Post” is open source software. The following people have contributed to this plugin.Contributors
Release Date: June 28th, 2022
- Improves the impact of the plugin on the performance of the site by avoiding useless calls on the
- Fixes a bug where a section in the Classic Editor’s submitbox would be displayed with incorrect margins.
- Sets the WordPress tested up to version to 6.0.
Release Date: January 25th, 2022
- Converts the upgrade notice into a welcome notice for first-time users.
- Fixes a bug where HTML tags in a Custom HTML block would be removed when republishing a scheduled Rewrite & Republish copy.
- Fixes a bug where the button style would be broken in the Classic Editor.
- Fixes a bug where a fatal error would be triggered in the Widgets page in combination with some themes or plugins.
- Sets the WordPress tested up to version to 5.9.
For the changelog of earlier versions, please refer to the changelog on yoast.com.