Yoast Duplicate Post

Beskrivning

This plugin allows users to clone posts of any type, or copy them to new drafts for further editing.

Hur det fungerar:

  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 select one or more items, then choose ’Clone’ in the ’Bulk Actions’ dropdown to copy them all at once.

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

  4. On the post edit screen, you can click on ’Copy to a new draft’ above ”Cancel”/”Move to trash” or in the admin bar.

  5. 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:

  1. Submit your bug reports, suggestions and requests for features on GitHub;
  2. 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.

Skärmdumpar

  • Här kan du kopiera det inlägg som du redigerar till ett nytt utkast.
  • By clicking on "Clone" the post is cloned immediately. "New draft" leads to the edit screen.
  • Alternativsidan.
  • The template tag manually added to Twenty Ten theme. Click on the "Copy to a new draft" link and you're redirected to the edit screen for a new draft copy of your post.
  • The admin bar link.
  • Bulk clone action.

Installation

Use WordPress’ Add New Plugin feature, searching ”Duplicate Post”, or download the archive and:

  1. Packa upp arkivet på din dator
  2. Upload duplicate-post directory to the /wp-content/plugins/ directory
  3. Aktivera tillägget via menyn ”Tillägg” i WordPress.
  4. 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 untraslated strings, you can help traslating to your language here: you only need a WordPress.org account.

Recensioner

24 september, 2020
I used to install Duplicate Post immediately onto every WP install to help with site customization, but Yoast's way of adding bloat and annoyance to every plug-in they are associate with makes this no longer my go-to page & post duplicator plug-in.
22 september, 2020
I have used this plugin for quite a while and love it. Enrico Battocch thank you for creating this! When I do a WP install this is one of the first plugins I install.
21 september, 2020
Thank you Yoast for instantly making the plugin crappy after buying it! Filled it with banners and ad's and you even broke translation support. Nice job! I don't recommend Yoast software for anything.
11 september, 2020
Great plugin but Yoast really likes annoying people with their ads. I had to add a fake email address to stop that annoying notice to show up again.
31 augusti, 2020
Yoast aquires an nice plugin and bloats it with nagtifications. Removed from all sites.
23 augusti, 2020
I was asked to find why a WP dashboard was slow, turns out this plugin was doing API calls to a non-responsive server. I deleted it and went looking for my trusty duplicate post plugin only to find it had spawned into this monster. This move is about as far from the open source spirit as you can get. I copied the most recent version of the Duplicate Post plugin to github and I'll be using that from now on.
Läs alla 471 betyg

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 46 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

3.2.6 (2020-09-17)

  • Compatibility with WordPress 5.5
  • Fixed bug about copying comments in WordPress 5.5
  • Check user permission when adding option to the bulk actions dropdown list
  • Improved update notice to be displayed only on selected screens when updating from < 3.2.5
  • Updated template tag documentation link
  • Added missing gettext to ”Subscribe” button

3.2.5 (2020-07-07)

  • First release from Yoast
  • Accessibility improvements to the settings page
  • Accessibility improvements to the ”Show original item” metabox
  • Accessibility improvements to the ”Show original item” check box in Quick Edit
  • duplicate_post_blacklist_filter deprecated in favor of duplicate_post_excludelist_filter

3.2.4 (2019-12-10)

  • Options to show original item in post list (in a column or alongside post states) or in a metabox in the edit screen
  • Accessibility improvements
  • Small other fixes

3.2.3 (2019-07-10)

  • Fixes incompatibility with previous versions of CF7
  • Now roles without edit_posts capability but having equivalent capability for custom post types can be allowed to copy
  • Small other fixes to bugs that could lead to incompatibilities with WPML and others

3.2.2 (2018-04-13)

  • The ”Admin bar” option shows the link in the post edit screen too, so you can use the plugin with Gutenberg enabled
  • Option for ”Slug” not set by default on new installations
  • Better display of icon in the Admin bar on small screens

3.2.1 (2017-11-25)

  • Fixing some issues of the 3.* trunk before major redesign
  • Fixes issue when upgrading on multisite
  • Improved compatibility with WPML + page builders, thanks to WPML team
  • Prevents creating a revision immediately after the cloning

3.2 (2017-04-04)

  • new website with extensive documentation
  • WPML compatibility, thanks to WPML team
  • improved Jetpack compatibility (Subscriptions, Markdown)
  • small changes to hooks
  • improved security with nonces
  • various small fixes

3.1.2 (2016-12-13)

  • Fix for custom fields not copied

3.1.1 (2016-12-13)

  • Fix for nasty update nag (plus a failsafe checkbox)

3.1 (2016-12-13)

  • Bulk clone action added (WP 4.7+)
  • Wildcards enabled for custom fields to skip
  • Options to copy post author, post format (moved from taxonomies), menu order, post template
  • Check publish_posts/publish_pages capability to prevent Contributors from publishing by cloning
  • Using wp_slash (WP 3.6+) or a better workaround (WP 4.4+) on the post and its meta, should also fix some compatibility issues
  • Check if admin bar is showing before enqueueing CSS
  • Probable fix for repeated clone bug
  • Other minor bugs fixed

3.0.3 (2016-10-29)

  • Notices in admin after copying
  • Fixes warning in custom post type archives
  • Uses site options for version and notice
  • Minor fixes

3.0.2 (2016-10-18)

  • Can now be enabled for every custom post type with visible UI (not just public ones)
  • Admin bar CSS only enqueued when needed
  • New ”Donate” button
  • Fixes for minor bugs and typos

3.0.1 (2016-10-09)

  • Fixes the issues for people upgrading from an older version

3.0 (2016-10-09)

  • Settings page redesigned
  • More options to enable/disable copy of every part of a post
  • Enable/disable cloning for every custom post type
  • Jetpack Publicize compatibility
  • Fixed a possible XSS
  • Fixed other little bugs
  • Translations removed to use WP.org’s official translation project
  • Checked PHP 7 compatibility

2.6 (2014-04-27)

  • PHP 5.4 (Strict Standards) compatible
  • Fixed possible XSS and SQL injections
  • other bugs
  • Updated and added translations
  • Tested up to WP 3.8.1

2.4.1 (2014-02-22)

  • Fixed regression about draft permalinks
  • Fixed bug with guid
  • Don’t clone to_ping and pinged (maybe there will be an option about those later)

2.4 (2012-04-29)

  • New option to clone the children of the original page
  • Licence changed to GPLv2 or later
  • Fixed publishing dates for drafts
  • Fixed bug with prefix/suffix
  • Translation project moved to GlotPress

2.3 (2012-04-06)

  • Added options to choose where to show the ”Clone” links
  • Clone attachments (i.e. references in the DB, not physical files)
  • Fix for untranslated user roles
  • Some other fixes (missing checks, PHP warnings and errors, etc.)

2.2 (2012-02-01)

  • Fix for problems when copying serialized meta fields
  • Fix for multiple _dp_original field
  • Removed deprecated parameter when adding options

2.1.1 (2012-01-04)

  • Can’t rely on activation hook for upgrade, this caused problems with new options

2.1 (2012-01-03)

  • Even more code cleaning (no more custom queries, using WP API)
  • Term order preserved when copying
  • Stopped using deprecated User levels, now it uses Roles and Capabilities
  • ’Copy to a new draft’ link in admin bar
  • duplicate_post_get_original template tag
  • Settings link in plugin list, ’Donate’ and ’Translate’ link in option page

2.0.2 (2011-12-12)

  • Fixed bug for permalinks
  • Two links on posts list: clone immediately or copy to a new draft to edit.
  • Tested on multisite mode.

2.0.1 (2011-12-08)

  • Fixed bug for action filters
  • New option so you can choose if cloning from the posts list must copy the post status (draft, published, pending) too.

2.0 (2011-12-08)

  • WP 3.3 compatibility (still not tested against multiblog feature, so beware)
  • Minimum WP version: 3.0
  • Code cleanup
  • Immediate cloning from post list
  • Added options for taxonomies and post excerpt
  • Added suffix option
  • Added template tag

1.1.2 (2011-04-08)

  • WP 3.1.1 compatibility (still not tested against multiblog feature, so beware)
  • Added complete Polish language files

1.1.1 (2010-06-30)

  • Plugin split in two files for faster opening in Plugins list page
  • fix conflicts with a few other plugins
  • Added Dutch language files

1.1 (2010-06-24)

  • WP 3.0 compatibility (not tested against multiblog feature, so beware)
  • Option page: minimum user level, title prefix, fields not to be copied, copy post/page date also
  • Added German, Swedish, Romanian, Hebrew, Catalan (incomplete) and Polish (incomplete) language files

1.0 (2010-06-15)

  • Better integration with WP 2.7+ interface
  • Added actions for plugins which store post metadata in self-managed tables
  • Added French and Spanish language files
  • Dropped WP 2.6.5 compatibility

0.6.1 (2009-12-03)

  • Tested WP 2.9 compatibility

0.6 (2007-07-21)

  • Fix for WP 2.8.1
  • WPMU compatibility
  • Internationalization (Italian and Japanese language files shipped)

0.5 (2009-01-09)

  • Fix for post-meta
  • WP2.7 compatibility

0.4 (2008-11-23)

  • Support for new WP post revision feature

0.3 (2008-03-01)

  • Initial version on WP repository