oik-clone helps you to selectively clone your content between sites.
Purpose
Clone your WordPress content
Features
Clone complete posts from one site to others including:- Taxonomy information
- Content
- Post meta data
- Relationships with other posts
- Attachments
Features v1.0-beta.0817
Fixes a problem with attachments which were uploaded in a different month to the parent post.Features v1.0-beta.0726
Provides the “cloned” virtual fieldFeatures v1.0-beta.0601
- On first clone content that had been manually created on multiple sites the source post is matched to the target post using the post’s slug.
Features v1.0-beta.0511
- Works when oik-fields is not active on the target
- Tested up to WordPress 4.2.2 and WordPress Multisite
- Started internationalization (i18n) and localization (l10n)
Features v1.0-beta.0422
- Improved support for larger media files. See Support pushing of media files using multipart forms
- Improved mapping of informal relationships in post content. See Support mapping of post IDs within content
Features v0.9 – improved mapping of informal relationships
- Only maps IDs when in the correct context
- Maps the oik custom image link if stored as post ID
Features v0.8 – map informal relationships in content
- Now maps post IDs in content from the source ID to the target ID
- Maps source domain to target domain in content
- [cloned] shortcode displays cloning status for a post
Features v0.7 – push hierarchical taxonomies
- Clones hierarchical taxonomies to the target server
Features v0.6 – clone attachments and media files
- Clone attachments, passing the media file to the servers
Features v0.5 – relationship support in post_meta
- Supports mapping of post IDs in post_meta data.
Features v0.4 – relationships support
- The client (master / source ) passes an array of known mappings of post IDs for the server ( slave / target ) to use when updating relationship fields.
Features v0.3 – tags support
- Added capability to clone tags type taxonomies
- Produces a message to remind you to clone parents before children
Features v0.2 – push
- Supports WordPress and WordPress Multisite
- Tested on WordPress 4.2-beta2
Features v0.1 – pull
- Compares content between source and target ( current ) site
- Works with any content type except: Revisions, Menu items
- Provides Import new, Compare and Update actions.
- Side by side compare of matched posts
- Supports WordPress and WordPress Multisite
- Tested on WordPress 4.1-beta2
Extensible
Initially developed for WordPress Multisite the plugin is extensible. This means that we will be able to add functionality such as cloning- from WordPress export files (WXR)
- from external sites using WP-API – the REST API for WordPress
- to external sites using WP-API
Planned enhancements
Clone on update
Highest priority items for v1.0-beta are:- Better handling for media files
Push cloning
- Newly cloned content should indicate last update date
- Better confirmation of success
- Ability to filter fields which should not be cloned
- Support additional search and replace logic for content, optional
Pull cloning
- Provide same content cloning functionality as for push cloning
Clone admin
- Ability to filter source post types listed
- Authentication defined per server
- Clone action on Self page
Limitations
- Not tested for menus ( nav_menu_item ) or links
- Currently deletes, then recreates all post meta data on the target post
- Doesn’t process users
- Doesn’t process comments
- Does not detect configuration differences, e.g. different plugins activated, post type and post meta registration differences.
- Only available for English
Requires
- oik v2.4-alpha.1112 or higher