تکثیر کننده پست

توضیحات

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

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

Contribute

اگر این را مفید می دانید و می خواهید مشارکت کنی ، دو راه وجود دارد:

  1. Submit your bug reports, suggestions and requests for features on GitHub;
  2. If you want to translate it to your language (there are just a few lines of text), you can use the translation project;

عکس‌های صفحه

  • Classic editor.
  • Block editor.
  • Post list.
  • Admin bar menu.
  • Bulk actions.
  • The options page.

نصب

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

  1. Unzip the archive on your computer
  2. Upload duplicate-post directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. 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.

بررسی‌ها

7 اکتبر 2021
It works well with around 80% of our sites, but the other 20% it causes a massive problems. If you are are deep with SEO and using specific permalinks, duplicating the page makes the original one 404. You might not even notice that error, because who checks the other page, right? In the meantime, you have a 404 losing important traffic, and probably revenue. It took us some exploration to find out the cause. Yoast Duplicator keeps the clone's permalink the same, thus you now have 2 pages that cannibalizes the URL. We had the same issue with other duplicate/clone plugins, I can imagine that Yoast just used their code since it's open source. That's why we are deleting Yoast Duplicate Plugin from everywhere. It's just annoying that it installs itself automatically. It should be removed from this area as I believe that should be against the WordPress Codex in my opinion. So far the Duplicate Page plugin by mndpsingh287 (https://wordpress.org/plugins/duplicate-page/) does not cause that problem. Yoast Team: Please stick to your core business, and do not diversify to some other tools you are not familiar with, thanks.
6 سپتامبر 2021
We're not sure at what point this feature was added; but we've noticed recently that when you duplicate a post, the plugin is now auto-populating the 'Canonical URL' field within the advanced tab. Whilst we can understand the logic behind this functionality were somebody duplicating content with the purpose of only changing a few minor pieces of content, we think in reality most users (certainly non-technical users) would use this plugin in the way that we do; duplicating a particular page purely to retain it's layout and particular content blocks - BUT with the aim of updating the actual page content almost in it's entirety. It would be nice to see a setting within the plugin settings that allows you to toggle this feature on or off at a global level. We fear our end clients will now be producing content with a canonical URL set, meaning any new content won't be getting indexed by Google. While a development or SEO agency would understand these advanced settings (now that we know it's doing it in the first place!), we're not sure you can expect non-technical personnel / content creators to have to delve into advanced settings. We've now got to communicate with about 50 or so clients who use this plugin, explain to them what a canonical URL is and get them to go back and check any content they have created over however many months and clear this field back out!
26 جولای 2021
Awesome plugin! I use it for so many years and always working perfect!
17 جولای 2021
This plugin is consistently seen in top 3 CPU consuming plugins on hundreds of websites. The call count is astonishing as well. Developers should pay a lot more attention to performance.
9 آوریل 2021
Plugin très utile pour dupliquer vos pages et vos articles.
خواندن تمامی 490 بررسی‌

توسعه دهندگان و همکاران

“تکثیر کننده پست” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“تکثیر کننده پست” به 49 زبان ترجمه شده است. Thank you to the translators for their contributions.

ترجمه “تکثیر کننده پست” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تغییرات

4.1.2 (2021-03-23)

پیشرفت ها:

  • Allows plugins such as ACF to add fields to the “Compare changes” screen for Rewrite & Republish.

Bugfixes:

  • Fixes a bug where the “Compare changes” screen for the Rewrite & Republish feature displayed a broken layout in WordPress 5.7.
  • Fixes a bug where a post type enabled by filter couldn’t be copied.
  • Fixes a bug where the “Show links in” settings were reset to the default value on version upgrade.

4.1.1 (2021-01-27)

Bugfixes:

  • Fixes a bug where editing posts with Elementor could trigger a fatal error.

4.1 (2021-01-27)

پیشرفت ها:

  • Improves compatibility between Elementor and the Rewrite and Republish feature.

Bugfixes:

  • Fixes a bug where Rewrite & Republish notices would be shown for regular copies.
  • Fixes a bug where the original post of a Rewrite & Republish copy was listed in the Yoast SEO Premium link suggestions.

سایر موارد:

  • Disables the plugin for WooCommerce products and introduces filter for enabled post types.

4.0.2 (2021-01-14)

Bugfixes:

  • Fixes a bug where errors or notices could be triggered when using the plugin with some other plugins or custom code.

4.0.1 (2021-01-12)

Bugfixes:

  • Fixes a bug that caused a fatal error when used with some plugins.

4.0 (2021-01-12)

پیشرفت ها:

  • Introduces the Rewrite & Republish feature, offering you the possibility to update a post/page without taking it offline or having to take extra steps. This feature is currently not available when Elementor is active on your site.
  • Introduces an integration with the Block Editor.
  • Introduces new settings to individually enable/disable the New Draft, Clone and Rewrite & Republish links.

3.2.6 (2020-09-17)

  • سازگاری با وردپرس نگارش 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
  • بهبود دسترسی
  • 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
  • رفع مشکل هنگام ارتقا در چند سایت
  • Improved compatibility with WPML + page builders, thanks to WPML team
  • از ایجاد یک ویرایش بلافاصله پس از شبیه سازی جلوگیری می کند

3.2 (2017-04-04)

  • وب سایت جدید با مستندات گسترده
  • سازگاری با WPML ، به لطف تیم WPML
  • بهبود سازگاری Jetpack (اشتراک ، Markdown)
  • تغییرات کوچک در قلاب ها
  • امنیت بهتر با nonces
  • رفع مشکلات مختلف

3.1.2 (2016-12-13)

  • رفع فیلدهای سفارشی کپی نشده است

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)

  • نسخه اولیه در مخزن WP