這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Post Cloner

描述

Post Cloner will create a quick to access action button on the post/page edit screen alongside ‘Edit’, ‘Quick Edit’, ‘Trash’ and ‘View’.

All cloned posts, pages and custom post types will have ‘- Clone’ appended to the end of their title. All cloned posts, pages and custom post types will also be set to draft so they don’t appear anywhere on your site until you decide to publish them.

Features

  • Clone posts, pages and custom post types
  • Full control over what is clone-able (Example: Enable cloning pages but disabled for posts)
  • Works with Easy Digital Downloads
  • Complete clone of posts/pages including taxonomies and meta data (includes featured images, categories, tags and any custom metadata assigned to the post/page/custom post type)
  • Lightweight, compact solution
  • Nonce checks implemented for security
  • High quality code adhering to WordPress Coding Standards

FuturePlans

  • Additional settings to adjust post data of the new cloned post

螢幕截圖

  • Example of the 'Clone Page' button on the Pages list page.
  • Example of the 'Checkout' page after a successful clone.
  • WP Post Cloner settings page, enabling the clone function on the 'Custom Post Type Example' post type.
  • WP Post Cloner in action.

安裝

Installation

  1. Upload wp-post-cloner.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the ‘Settings >WP Post Cloner’ to toggle which post types can be cloned.
  4. Head into Posts, Pages or any Custom Post Type list page. Hover over any post and click ‘Clone’.
  5. ???
  6. Prosper

常見問題

How come I can’t change my permalinks?

You need to make sure that your permalinks are set to anything but the default inside of Settings > Permalinks. Once the permalinks are changed from the defaults you should have no problem changing the permlink of your page.

I have (a) custom post type(s) registered on my site. Can I use this plugin to clone it?

Yes! We’ve built out a settings page ('Settings > WP Post Cloner') where you can specify which post types are cloneable. By default only pages and posts are active. You can add or remove any registered post type on your site.

My custom post type doesn’t have a ‘Duplicate’ button. Why not?

You need to ensure that you’ve assigned the psot type as ‘clone-able’ on the settings page. Head into 'Settings > WP Post cloner' and click inside the input field to reveal a full list of registered post types. You’ll want to make sure that your custom post type appears on this list.

I have a whole bunch of custom meta assigned to my posts/pages/custom post type, will this plugin transfer over everything?

Yes! We’ve built in full support for taxonomies and meta data for default posts, pages and even custom post types that may be specific to your theme or created via third party plugins.

評價

2017年2月27日
Massive time saver! I use this with EDD they offer a payed for version of duplicate... Kind of feel ripped off knowing that this should be a built in function. I can not thank you enough 🙂
2016年9月3日
The one issue I have found is that when creating custom post types with PODS, that when a custom field such as "Relationship [type: pick]" where the value is another post type, the selected values are not copied over.
2016年9月3日
I would highly recommend it. I've tried others with no success however. This one is easy to install works as described.
閱讀全部8個評價

貢獻者及開發者

“Post Cloner” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Post Cloner 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.1.1

  • Built in support for Easy Digital Downloads product cloning.

0.1

  • Initial realease of Post Cloner