Beskrivning
This plugin allows users to clone posts of any type, or copy them to new drafts for further editing.
Hur det fungerar:
-
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.
Duplicate Post has many useful settings to customize its behavior and restrict its use to certain roles or post types. Check out the extensive documentation on yoast.com and our developer docs.
Bidra
Om du tycker att detta är användbart och om du vill bidra, finns det två sätt:
- Submit your bug reports, suggestions and requests for features on GitHub;
- Om du vill översätta detta tillägg till ditt språk (det är bara ett par rader text), så kan du använda översättningsprojektet.
Installation
Use WordPress’ Add New Plugin feature, searching ”Duplicate Post”, or download the archive and:
- Packa upp arkivet på din dator
- Upload
duplicate-postdirectory to the/wp-content/plugins/directory - Aktivera tillägget via menyn ”Tillägg” i WordPress.
- Go to Settings -> Duplicate Post and customize behaviour as needed
Vanliga frågor
-
Tillägget fungerar inte, varför?
-
Först av allt, kontrollera vilken version av WordPress du använder: tillägget stöder inte äldre versioner längre. Se också till att du uppgraderar till senaste versionen av tillägget!
Prova sedan att inaktivera och återaktivera det, några användare har rapporterat att detta åtgärdar vissa problem.
Pay also attention to the ”Permissions” tab in the Settings: make sure the plugin is enabled for the desired roles and post types.
Om det fortfarande inte fungerar, så kanske det är någon konflikt med andra tillägg. Skriv gärna i forumet så försöker vi komma fram till en lösning (det kommer vara till stor hjälp om du provar att inaktivera alla dina andra tillägg ett efter ett för att se vilket det är står i konflikt med mitt. Men gör det bara om du vet vad du gör, jag tar inget ansvar för några problem det kan leda till).
-
Tillägget är inte översatt till mitt språk!
-
Från och med version 3.0 hanteras tilläggets översättning av plattformen på WordPress.org och tillägget skickas utan språkfiler. Så uppdatera först och främst översättningarna i Adminpanel->Uppdateringar.
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.
Recensioner
Bidragsgivare och utvecklare
”Yoast Duplicate Post” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personer”Yoast Duplicate Post” har översatts till 51 språk. Tack till översättarna för deras bidrag.
Översätt ”Yoast Duplicate Post” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
4.6
Release date: 2026-03-09
Introduces smoother post duplication, more reliable rewrite workflows, and better compatibility across languages and configurations. Read more here!
Enhancements
- Improves the compatibility with the Block Editor.
- Improves the style of the Copy to a new draft and Rewrite & Republish actions in the Block Editor.
- Replaces the metabox with a sidebar panel in the Block Editor.
Bugfixes
- Fixes a bug where cloning an attachment did not copy its caption as expected. Props to @masteradhoc.
- Fixes a bug where cloning an attachment did not copy its description as expected.
- Fixes a bug where notices would not be appearing in the block editor, throwing console errors, with some locales.
- Fixes a bug where Rewrite & Republish copies could remain orphaned, blocking editors from creating a new Rewrite & Republish copy for the original post.
- Fixes a bug where the block editor button were not styled if the admin bar links where not present.
- Fixes a bug where translations where missing in the buttons and the notices in the Block Editor. Props to @petitphp.
Other
- Improves security of the Bulk Clone action and the republishing of a copy.
- Adds
duplicate_post_before_republishandduplicate_post_after_republishaction hooks fired before and after republishing. Props to @piscis. - Deprecates the
dp_duplicate_postanddp_duplicate_pagehooks and introduces a new unifiedduplicate_post_after_duplicatedaction hook that replaces them. The new hook includes the post type as a fourth parameter for flexible filtering. - Sets the minimum supported WordPress version to 6.8.
- Sets the WordPress tested up to version to 6.9.
- Drops compatibility with PHP < 7.4.
- Verified compatibility with PHP up to version 8.5.
- Fixes the Developer Guide link that was leading to a non-existent page. Props to @masteradhoc.
- Fixes the documentation link to use a shortlink. Props to @masteradhoc.
- Improves how the translations are loaded by relying on the WordPress mechanism for that. Props to @swissspidy.
- Improves discoverability of security policy in Packagist.
- Users requiring this package via [WP]Packagist can now use the
composer/installersv2.
4.5
Release date: 2022-06-28
Enhancements
- Improves the impact of the plugin on the performance of the site by avoiding useless calls on the
gettextfilter.
Bugfixes
- Fixes a bug where a section in the Classic Editor’s submitbox would be displayed with incorrect margins.
Other
- Sets the WordPress tested up to version to 6.0.
Earlier versions
For the changelog of earlier versions, please refer to the changelog on yoast.com.






