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.

评价

2022年8月22日
I just really doN't understand the low download number - I've been using this plugin for about 5-6 years (if not more), never had any issues with it, it does its job perfectly and wonderfully, no ads in the admin, no freemium model, no tons of unnecessary options, a simple, logically structured, clean UI, and I'm 100% sure I could add a few other items to the "Why am I using this specific plugin" list. Post cloner is a perfect product, and a perfect example of how plugin development for an open-source, free software should work in a better world. Oh, not to mention, it has one of the loveliest plugin profle picture in the whole repo!! 🐑✨❤️
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日 1 回复
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日 1 回复
I would highly recommend it. I've tried others with no success however. This one is easy to install works as described.
阅读所有9条评价

贡献者及开发者

“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