bobbingwide / oik-clone

Clone content between sites
https://www.oik-plugins.com/oik-plugins/oik-clone-clone-your-wordpress-content/
GNU General Public License v2.0
5 stars 0 forks source link
clone oik-plugins wordpress-plugin

oik-clone

banner

Description

Clone content between sites

oik-clone provides tools to merge and synchronize content between WordPress sites.

Features:

New for version 2.2.0

New for version 2.0.0

This was originally developed as:

oik-clone is dependent on the oik base plugin; using the oik-plugin as a library of functions sitting on top of WordPress. Both plugins need to be installed and activated on each site.

This solution was developed to address a couple of specific problems

Installation

  1. Upload the contents of the oik-clone plugin to the `/wp-content/plugins/oik-clone' directory
  2. Activate the oik-clone plugin through the 'Plugins' menu in WordPress
  3. Use oik options > Clone to access the admin interface

Install on both the client and server machines.

Frequently Asked Questions

Is there a beta test version?

Yes, there's a new beta test version for 2.0.0

The June version improves the cloning process. It reduces the amount of user activity required to clone new posts with newly added ( uncloned ) featured images.

The January 2020 beta version supports reconciliation of posts that have been updated in the slave and a 'Do Not Clone' capability.

What does the Slave tab do?

Use this admin page to reconcile content with a slave server or to push new content to the slave server.

What does the Multi-Site tab do?

The initial version of this plugin was designed for use on WordPress MultiSite where you have cloned an existing site into a new version, developed the new version and now want to copy the new contents back into the existing site.

What does the Self tab do?

The Self tab allows for introspection. It provides the same actions as the Multisite tab, but the source and target site is the same.

How does the "Clone on update" work?

This'll be documented in the FAQs on the site

Is this suitable for pushing from Staging to Production?

It depends.

To support pushing from Staging to Production requires additional work to identify the network of posts to be cloned. This can be achieved using a the [clone] shortcode in a widget.

Does this use the REST API?

Not yet, though that was the plan.

It was more complicated than I first thought. So I developed the solution as an extensible solution. For the pull model the oik-clone base logic supports

Extension plugins, yet to be published, may support

For the push model the oik-clone base logic supports

Why is this dependent upon oik?

Some plugins use Composer to manage their dependencies, pulling in library functions from third party plugins hosted on GitHub and elsewhere.

The oik suite of plugins use common APIs from the oik base plugin. There should be little overhead. Even though oik implements over 80 shortcodes none of them are registered until shortcodes are actually needed. oik attempts to OWN the problem; Only When Necessary.

One day perhaps the lowest level of oik base functions will be exported to a library but in the mean time you have to download and activate oik to make this work.

Are there limitations?

Yes. Work is needed in the following areas.

What authentication method is used?

Simple validation of an API key. Other methods will be implemented in future versions.

Screenshots

  1. Clone on update meta box - select targets
  2. Clone on update meta box - with cloned post links
  3. Clone on update meta box - Previously cloned
  4. Do Not Clone meta box
  5. Clone admin - Slave tab - Slave Post Selection
  6. Clone admin - Slave tab - Slave Post list
  7. Clone admin - Slave tab - Import new post from Slave
  8. Clone admin - Slave tab - Master posts to clone

Upgrade Notice

2.3.2

Tested with PHP 8.1 and PHP 8.2

Changelog

2.3.2

Further reading

If you want to read more about the oik plugins then please visit the oik plugin "the oik plugin - oik information kit"