Skip to content

Create sites with content from other sites

Notifications You must be signed in to change notification settings

stuttter/wp-site-cloner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

WP Site Cloner

Use an existing site's content to populate a new site.

WP Site Cloner allows the copying of a site's content with just 1 function.

Installation

  • Download and install using the built in WordPress plugin installer.
  • Activate in the "Plugins" area of your admin by clicking the "Activate" link.
  • No further setup or configuration is necessary.

FAQ

Does this create new database tables?

Technically, that's the only thing that it does!

Does this modify existing database tables?

No. All of WordPress's core database tables remain untouched.

How do I use this?

Probably something like:

wp_clone_site( array(
	'domain'        => 'src.wordpress-develop.dev',
	'path'          => '/paul/',
	'title'         => 'Paul the Dog',
	'from_site_id'  => 35,
	'to_network_id' => 1,
	'meta'          => array(
		'public' => 1
	)
) );

What about wp_links?

If link_manager_enabled is falsey on the source site, it will not get copied over to the new one.

Where can I get support?

The WordPress support forums: https://wordpress.org/tags/wp-site-cloner/

Can I contribute?

Yes, please!

Releases

No releases published

Packages

No packages published

Languages