Multisite Post Duplicator

April 09, 2018

Multisite Post Duplicator Plugin

Duplicate/Copy/Clone any individual page, post or custom post type from one site on your multisite network to another.

Duplicate/Copy/Clone any individual page, post or custom post type from one site on your multisite network to another.

  • Multisite Post Duplicator can copy the following:

    • Custom fields
    • Related post meta
    • Custom post types on your network (make sure post type exists in your destination site)
    • Featured image
    • Images within post content
    • Tags
    • Categories. (If the category doesn’t exist in the destination site then the category is created and assigned to the post)
    • Taxonomy terms. (make sure taxonomy is also registered on your destination site).
    • Parent and child relationships (must use batch duplication option to achieve this).
    • Site Media files to other sites on your network
    • ACF Fields
    • ACF Field Groups (sync field groups within your network!)
  • Create a duplication link/syndication

    • If you ever update the source post again it will automatically update the duplicated page and keep them in sync.
  • Tools

    • Batch Duplication
    • Metabox control within Post/page edit screen
    • Activity Log. View information on all duplications performed within your network
  • Settings

    • Settings page to customise the default behaviour
    • Manage you linked duplications. Add/Remove.
    • Restrict functionality to only certain sites on your network
    • Restrict functionality to users of certain roles
    • Select what status you want your new copy of post to be i.e Published, Draft etc
    • Specify a prefix for the new post to avoid confusion
    • Choose to ignore specific post meta keys in the duplication process
  • Developers

    • Create your own addons! Multisite Post Duplicator is now fully extendable. Create your own functionality. Check out the API documentation.
    • Check out a list of hooks you can use (http://www.wpmaz.uk/multisite-post-duplicator-actions-and-filters/).

Installation

  1. Upload multisite-post-duplicator folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Customise the default behaviour by going to Setting > Multisite Post Duplicator Settings

Screenshots

  1. Meta Box

    Meta Box

  2. Setting Page

    Setting Page

  3. Batch Duplication

    Batch Duplication

  4. Duplication Tool

    Duplication Tool

FAQ

Installation Instructions

  1. Upload multisite-post-duplicator folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Customise the default behaviour by going to Setting > Multisite Post Duplicator Settings

Does this only work on a multisite network?

Yes.

Can I copy custom post types?

Yes.

What about post meta? Will these be copied over?

Yes.

Does this work with advanced custom fields?

Yes. However, you have to have the same custom fields defined in each of the sites on your network. To help keep the fields in sync try: https://wordpress.org/plugins/acf-multisite-sync/

What about Multisites on Subdomain Configurations?

Unfortunately we don’t support sub domain configurations at this time. You may use it to some extent, but a lot of this plugins features may produce unexpected results. Our plan is to introduce support for this in the near future.

Changelog

1.7.6

  • ACF fields registered via php are now copied (thanks WillyMichel)
  • Clone fields containing media now correctly copied (thanks WillyMichel)
  • Fixed issue with multiple ACF gallery fields on a single post (thanks WillyMichel)
  • Added settings option to make master site terms and term_taxonomy tables global for persistent category id. This way posts that are fed to site and sub-site pages by category ID will always generate based on master site posts. (thanks SpeechlessWick)

1.7.5

  • Permalink structure now behaves as expected when copying post to the same site
  • Publish date now persists on linked posts if requested (thanks again Iskren Ivov Chernev)

1.7.4

  • Bug fixes

1.7.3

  • More robust approach to copying categories and tags (thanks to Iskren Ivov Chernev over at github)

1.7.2

  • Bug Fixes
  • Removed php warnings received in debug mode

1.7.1

  • NEW: Now supports Media Post type. Copy single or batched files to different sites on your network!
  • Improved and more compatible method of copying images to the destination sites. (no more put_file_contents()!!)
  • Bug Fixes

1.6.6

  • NEW: MPD now recognises previously copied media files to prevent duplicate media instances when copying the same page multiple times.
  • Fixed: Media files are no longer assigned the wrong post_mime_type in some senarios
  • Fixed: A linked post’s ‘status’ will now be correctly replicated upon copy.

1.6.5

  • NEW: Now copies ACF file field-type.
  • Now correctly copies post_slug if it has been updated by user.
  • Improved method of post content image collection.

1.6.4

  • Users will now see if there is a linked post no matter their role or restrictions.

1.6.3

  • NEW: You can now create multiple links to exisiting posts.
  • Improved validation on our ‘create a link to existing post’ metabox.

1.6.2

  • Fixed: Issue with acf field group duplication not retaining the post heirarchy in some senarios.

1.6.1

  • Fixed: Activation error on some versions of php.

1.6

  • NEW: More intelligent duplication messages.
  • NEW: Cool new checkboxes in the settings page (Thanks to http://kleinejan.github.io/titatoggle/)
  • Fixed: Issue with default ‘post status’ setting giving php notice in debug mode
  • Fixed: Issue with multiple duplicate messages showing the same details.
  • Fixed: Setting producing undesired behaviour for tags and taxonomies in some scenarios.
  • Improved filters used to build the metabox markup

1.5.5

  • Improved access to code for developers via various new filters and actions

1.5.4

  • Fixed issue with ‘duplication link’ checkbox remaining greyed out when some sites were checked.

1.5.3

  • Fixed php warnings experienced in some scenarios.

1.5.2

  • Fixed php warnings experienced in some scenarios.

1.5.1

  • Fixed ‘duplicating on publish’ bug introduced in v1.5

1.5

  • NEW: Duplicate Advanced Custom Field’s ‘field groups’ and keep them in sync throughout your network by using our ‘duplication link’ functionality.
  • Select all sites on your network quickly with our new ‘select all button’
  • Improved performance
  • Improved access for developers with the addition of several new hooks.

1.4

  • NEW: Signposting for networks where custom post types and taxonomies are not synced throughout.
  • NEW: Signposting for instances where user’s ‘Advanced Custom Fields Field Groups’ don’t exist in the destination site.
  • Improved performance of taxonomy duplication on linked posts.
  • Fixed issue where taxonomy terms would not copy in some scenarios.
  • Removed some PHP warnings if running in debug mode.

1.3.2

  • Fixed issue with new ACF image functions not playing nice with ‘linked’ posts

1.3

  • NEW: Advanced Custom Field Images from source are now copied to the destination site and are assigned to post properly
  • NEW: Now supports copying Advanced Custom Field Gallery field type.
  • NEW: Added ability to change ‘Default Post Status’ in settings.
  • Add settings link to the plugin list.
  • Fixed bug with post’s ancestry not being copied to the root site on a network

1.2

  • NEW: When using the batch duplication tool if a parent and child are in the duplicate batch then the relationship will be maintained in the desitination site.
  • UI Improvements
  • Corrected some typos

1.1.3

  • Fixed issue with our custom database table not being created on activation of plugin

1.1.2

  • Fixed ‘create link to an existing post’ functionality only displaying ‘Post’ Post-Type results

1.1.1

  • Fixed issue with linked posts not looking at the ‘ignore most meta keys’ setting.
  • Improved efficiency of core duplication function.
  • Queries to our ‘Linked Duplications’ db table are now correctly wrapped in wpdb::prepare() to protect from injection hacks.
  • Fixed issue where networks with more than 100 sites would have some sites not listed in thier controls (for installs > 4.6)
  • Fixed issue where other plugin’s meta data (that are using the ‘save_post’ action) might be missed during the duplication
  • General performance improvements

1.1

  • NEW: Create a link to an existing post!
  • Removed unneeded version parameters on enqueued css and javascript files.
  • Improved reliability of ‘version compare’ function used in determining user settings.

1.0.2

  • Fixed text domain issue for translations.

1.0.1

  • Fixed activation error for some users.

1.0

Bringing Multisite Post Duplicator into Version 1.0 with a massive update. Really excited to provide this new, continually requested, functionality:

  • NEW: Link a duplication!
    • If you create a link between the original post and it’s ‘duplicated post’ then whenever you update the original post the ‘duplicated post’ will be updated also! Simply check the box ‘Create Duplication Link’ on the MPD metabox before processing your duplication
    • View and edit your linked posts via a handy user interface
    • View all posts that a post is linked to via a new MPD Metabox
    • Behaviour can be turned off in settings
    • Loads of new filters and actions to help developers customise this functionality
  • NEW: Duplication activity log!
    • Keep track of all posts that have been duplicated within your multisite network.
    • Behaviour can be turned off in settings
  • NEW: Settings page has been cleaned up. Looks a lot lets cluttered.
  • Added: Filter ‘mpd_list_metabox_priority’ and for developers to change priority of MPD Metaboxes
  • Fixed: Error on activation of plugin in a non-multisite installation.
  • Fixed: Problems with the setup to allow plugin translations

0.9.5.1

  • Fixed critical error experienced by some users from update v0.9.5

0.9.5

  • Subdomain warning message can now be dismissed. Also has improved signposting.

0.9.4

  • NEW: Added setting to let you retain the source post publish date if you wish.
  • NEW: Added font-awesome for some nice icons in our UI
  • Added signposting for users trying to use this plugin on a subdomain configuration.
  • Fixed various typos and spelling mistakes throughout the plugin.
  • Added new action ‘mpd_extend_activation’ so developers may hook into the plugin’s activation process.

0.9.3

  • NEW: Support for WordPress’ new WP_Site_Query (get_sites()) class.
  • Fixed issue with featured images not copying over for some users (thanks joedev91).
  • Fixed issue with unwanted post meta upon duplication process (thanks joedev91).

0.9.2

  • Fixed php warnings experienced by some users

0.9.1

  • Fixed bug where restricted sites were still showing up on the MPD metabox list.
  • Fixed bug where batch duplication functionality was lost when viewing a page list ‘search results’.
  • Fixed issue that could cause users to lose some settings when upgrading.

0.9

  • NEW (finally): Copy post taxonomy terms. This behaviour assumes that the taxonomies terms being duplicated are from taxonomies that are registered on the destination site.
  • NEW: Add list of post meta keys to ignore in settings.
  • Fixed bug where category wouldn’t copy if the term id didn’t marry up with the destination term id.
  • Fixed bug where categories with special characters would cause unexpected results
  • Some UI improvements
  • Added ‘mpd_source_data’ filter to allow hooking into the source post data

0.8

  • NEW: Copy post categories. If the category doesn’t exist in the destination site then the category is created and assigned to the post (Can be turned on or off in Settings).

0.7.4

  • Added filter to allow access to post statuses. See support thread https://wordpress.org/support/topic/small-request-1 for details.

0.7.3

  • Added sign-posting if user activates this plugin on a non multisite wordpress installation.

0.7.2

  • Fix for file_get_content() not collecting image data on multisites running SSL that store files without a protocol. Thanks Pedro Freitas!

0.7.1

  • NEW: Restrict access to this plugin’s functionality to users with certain roles.

0.6.1

  • Fixed issue with excerpts not copying
  • Improved access to ‘mpd_show_settings_page’ filter

0.6

  • NEW: Create your own addons! Multisite Post Duplicator is now fully extendable. Create your own functionality. Check out the API documentation. And here is a list of hooks you can use: (http://www.wpmaz.uk/multisite-post-duplicator-actions-and-filters/). We’ve even created a couple of core addons if you want have nosey at how they are hooked in.
  • NEW CORE ADDON: Batch Duplication! You can now duplicate several pages at a time from the post/page list screen.
  • NEW CORE ADDON: Restrict MPD! You can now restrict the ability to duplicate from certain sites on your network.
  • FIXED: Issue with generated destination URL of attached media from root site.

0.5.2

  • Fixed issues with attached media files when duplicating a page that has aleady been duplicated
  • Fixed issues with featured images when duplicating a page that has aleady been duplicated

0.5.1

  • Fixed site path showing incorrectly in new image url (cosmetic change to avoid confusion, both resolve to same location)

0.5

  • NEW: Now copies featured images from posts (can be turned off in Settings page)
  • NEW: Now copies any image media within the post content to the destination site (can be turned off in Settings page).
  • NEW: Now copies post tags (can be turned off in Settings page)
  • NEW: Admin notice on success of duplication. Has a link to go straight to the new post
  • NEW: Submit button on WordPress post edit page will now update to show that a duplication has been requested
  • FIXED: Fixed User prefix having unintentional double space in some scenarios
  • Settings page now global for all sites in the multisite network
  • Cleaned up Settings page and added tooltips
  • Prepared plugin for localisation (any translators welcome to contact me please!)
  • Cleaned code for improved efficiency

0.4.1

  • Now handles custom post statuses.

0.4

  • Added Meta Box within the post type so you can now duplicate your post to another site on your network as you work (Thanks to Sergi Ambel!).
  • Added Settings page to customise default behaviour.

0.3.1

  • Fixed Activation errors.

0.3

  • You can now filter by ‘any’ post type.

0.2.1

  • Fixed bug where all posts were not appearing in certain scenarios

0.2

  • Added support for Contact Form 7
  • Duplication now correctly deals with serialised post meta

0.1

  • Initial Release

Details

  • Version: 1.7.6
  • Active installations: 600
  • WordPress Version: 3.7
  • Tested up to: 4.8.25

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars