Yoast Duplicate Post

外掛說明

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

If you find this useful and if you want to contribute, there are two ways:

  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.

使用者評論

2022 年 10 月 18 日
Yoast Duplicate Post is a great plugin that does exactly what it says it will do. It copies posts and pages, making it an easy way to create multiple versions of the same content. However, when Yoast bought the plugin, they made some unwelcome changes. The name of the plugin is now Yoast Duplicate Post, which just by seeing the word Yoast there, makes it seem like you have to pay for the plugin in order to use it. At first a little and then without notice a 500% price increase just like Yoast SEO Premium... This isn't the case, as the free version still works perfectly well, but it's a bit irritating that they've changed the name in such a way. Aside from this small issue, Yoast Duplicate Post is still a great plugin and works as expected.
2022 年 10 月 12 日
When I tried to update one page on my site, I kept getting a ‘500 internal server error’ message. I tried disabling all my plugins, checking the .htaccess file and resetting the PHP memory limit. My hosting team could find nothing amiss and had no suggestions. As a long shot, I cloned the page with Yoast Duplicate Post and binned the original. Hey presto! Problem solved. One of the most useful and used plugins in my arsenal. Thanks guys.
2022 年 8 月 22 日 1 則留言
Hi, doesn't work duplicating navigation menus, doesn't show duplication tool in menus config page.
2022 年 3 月 29 日
This plugin is a very useful addition to the limited standard WordPress options. I often use the clone feature to create new posts/pages from existing ones. The options page allows setting the standard name for the copy as well as the attributes that should be transferred.
閱讀全部 503 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Yoast Duplicate Post〉的開發相關工作。

參與者

〈Yoast Duplicate Post〉外掛目前已有 50 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Yoast Duplicate Post〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

4.5

Release Date: June 28th, 2022

Enhancements:

  • Improves the impact of the plugin on the performance of the site by avoiding useless calls on the gettext filter.

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.

4.4

Release Date: January 25th, 2022

Enhancements:

  • Converts the upgrade notice into a welcome notice for first-time users.

Bugfixes:

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

Other:

  • Other:
    * Sets the WordPress tested up to version to 5.9.

Earlier versions

For the changelog of earlier versions, please refer to the changelog on yoast.com.