Post Cloner

Post cloner allows you to easily make complete duplicates of any post on your site. That includes posts, pages and custom post types.

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

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.

0.1.1

  • Built in support for Easy Digital Downloads product cloning.

0.1

  • Initial realease of Post Cloner
  1. Example of the 'Clone Page' button on the Pages list page.

    Example of the 'Clone Page' button on the Pages list page.

  2. Example of the 'Checkout' page after a successful clone.

    Example of the 'Checkout' page after a successful clone.

  3. WP Post Cloner settings page, enabling the clone function on the 'Custom Post Type Example' post type.

    WP Post Cloner settings page, enabling the clone function on the 'Custom Post Type Example' post type.

  4. WP Post Cloner in action.

    WP Post Cloner in action.