[WordPress] 外掛分享: Multisite Cloner

首頁外掛目錄 › Multisite Cloner
WordPress 外掛 Multisite Cloner 的封面圖片
100+
安裝啟用
★★★★
4.7/5 分(29 則評價)
3407 天前
最後更新
問題解決
WordPress 3.0+ v0.2.2.1 上架:2014-05-29

內容簡介

在 WordPress Multisite 中,新建網站會得到一個沒有任何自定義設置或起始內容的枯燥默認模板。

此外掛程式允許您選擇網絡中的特定博客,即“主博客”,每當創建新博客時,它將被複製。

這樣,新博客將包含主博客中的所有文章、上傳文件、佈景主題設置和外掛選項。

它是如何運作的?

它使用 MySQL INSERT INTO ... SELECT 從“主”博客將每一個表複製到新博客。這是快速的!
然後,它對新博客的表進行搜索和替換,替換舊 URL 為新 URL。
這是以一種尊重序列化陣列的方式完成的,因此您的外掛程式設置將被保留。
(我們使用了 Interconnect/IT 的Search and Replace 工具的大幅減少版本,因此感謝他們!)
它開始將您的主博客的wp-content/uploads目錄中的所有文件複製到新博客中,以便所有資產都可以正常運作。
最後,它會做一些清理工作,根據需要更新新博客的標題、管理員電子郵件和用戶角色。

去檢查螢幕截圖,它很簡單且盡其所能。
不妨試試看!

此掛件是由Tipit.net團隊用愛和瑪點茶手工製作的。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Multisite Cloner」→ 直接安裝(推薦)

原文外掛簡介

In WordPress Multisite, new sites get a boring default template, without any custom settings or starter content.
This plugin allows you to select a specific blog on your network, a “master” one, that will be cloned every time a new blog is created.
In this way, new blogs will contain all posts, uploads, theme settings and plugin options from the master blog.
How does it work?

It uses MySQL INSERT INTO ... SELECT to copy every table from the “master” blog into the new one. This is fast!
Then it does a search and replace on the new blog’s tables, to replace the old URL with the new one.
This is done in a way that respects serialized arrays, so your plugin’s settings will be preserved.
(We used a heavily trimmed down version of Interconnect/IT’s Search and Replace tool for that, so go thank them for this!)
It proceeds to copy all files from the wp-content/uploads dir of your master blog into the new one’s, so that all assets will work as expected.
Finally it does some house clean-up, updating the new blog’s title, admin email, and user roles as needed.

Go check the screenshots, it’s really simple and does what it says.
Give it a try!
This plugin was handcrafted with love and ‘yerba mate’ by the team at Tipit.net.

延伸相關外掛

文章
Filter
Mastodon