這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Blog Copier

外掛說明

A simple and effective approach to copying blogs within a multisite network.

  • Copy a blog including all its widgets, template settings and more.
  • Option to copy or not copy files.
  • GUIDs and urls in post contents are migrated automatically.

This plugin was derived from Ron Renneck’s awesome WP Replicator (http://wpebooks.com/replicator/) plugin, although it’s been 90% rewritten. Changes from the original include the following:

  • Improved performance on large scale blogs.
  • Improved file copy performance and an option in the admin to bypass copying altogether.
  • Removed limit of number of blogs that can be used as a copy source.
  • Encapsulated the code in a Class and renamed variables to be more readable.
  • Revised UI to keep it simple and easy to use.

Sadly the WordPress file management code is not idea for handling the copying of a large folder with subdirectories so we opted to stick with exec(‘cp’). On the flip side, we set up a filter (copy_blog_files_command) so that you can override it with your own custom copy code.

This plugin is actively supported and we will do our best to help you. In return we simply as 3 things:

  1. Help Out. If you see a question on the forum you can help with or have a great idea and want to code it up and submit a patch, that would be just plain awesome and we will shower your with praise. Might even be a good way to get to know us and lead to some paid work if you freelance. Also, we are happy to post translations if you provide them.
  2. Donate – if this is generating enough revenue to support our time it makes all the difference in the world
    https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TWM2GF6BQZGSN
  3. Support us by buying our Premium plugins. In particular, check out our Events Calendar Pro http://tri.be/wordpress-events-calendar-pro/

Documentation

It’s pretty straight forward. Select the blog you want to copy. Set a new domain or subdomain and a title. Decide if you want to copy the files or just the data. Click “Copy Now”. Done.

This DOES NOT copy blogs across networks, back up blogs off the network, or copy the master blog. This also does NOT copy users from one blog to another.

螢幕擷圖

  • Blog Copier Screen
  • Sites “Copy” Option

安裝方式

Install

  1. In your WordPress Network administration, go to the Plugins page
  2. Activate this plugin and a subpage for the plugin will appear
    in your Sites menu.

Please visit the forum for questions or comments: https://wordpress.org/tags/blog-copier/

Requirements

  • PHP 5.1 or above
  • WordPress 3.0 or above
  • Multisite activated with at least one sub-blog

常見問題集

Where do I go to file a bug or ask a question?

Please visit the forum for questions or comments: https://wordpress.org/tags/blog-copier/

使用者評論

2017 年 7 月 1 日
I was a happy user of this plugin for many years. I was creating a test site of my shop, tested some things, deleted the site and when a new need arose, I copied a fresh version of my shop to test things again. What I didn’t know was that this plugin duplicates database tables and leaves them after deleting the blog. In result, db grows, slows down and is prone to errors. It’s hard to clean up after few years. This and the fact that this plugin was not updated since few years shows that Blog Copier shouldn’t be installed under any circumstances! It works even now (hence 2 stars) but it’s not worth the price.
2016 年 9 月 3 日
You are a life saver. I tried using the plugin that you originally derived this from, and it was having issues. But this seems to have saved the say! YES Thanks Doug
閱讀全部 14 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Blog Copier〉的開發相關工作。

參與者

將〈Blog Copier〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.7

  • Add ‘copy_blog_complete’ action. (thanks @mat-lipe)

1.0.6

  • Fix caching bug. (thanks @jbrinley)

1.0.5

  • Fix error with directory based blog structure.

1.0.4

  • Handle the new uploads directory structure of networks created with WP 3.5+

1.0.3

  • Fixed a wildcard table selection bug that was causing some real problems.
  • Fixed a minor bug that caused required empty options to not get copied from the source blog.
  • Remove superfluous db prepare() functions.
    Thanks @jbrinley!

1.0.2

Added .pot file. Anyone interested in submitting a translation??? https://wordpress.org/tags/blog-copier/

1.0.1

Minor documentation updates.

1.0

Initial plugin release. Woohoo!