[WordPress] 外掛分享: Multisite Themes

首頁外掛目錄 › Multisite Themes
10+
安裝啟用
尚無評分
4778 天前
最後更新
問題解決
WordPress 3.0+ v1.3 上架:2010-02-14

內容簡介

(註:在說此外掛損壞之前,請先了解此外掛功能。此外掛適用於 WordPress 安裝中存在多個網路的情況。)

新增了一個功能,可以讓多個網路的 WordPress 網站具有不同的佈景主題選擇。

WordPress 允許有多個「網路」,但這些與「網站」不同。一個網路可以擁有多個部落格。

此外掛可以讓您將不同佈景主題分配到不同的目錄中,這樣只有您指定的網路才能夠使用和瀏覽。

外掛會嘗試在 wp-content 目錄下建立一個名為 ms-themes 的目錄。如果建立失敗,您就需要手動建立。

在 ms-themes 目錄下,您可以為每個允許使用特定佈景主題的網路建立一個資料夾。

例如:
如果您有一個名為「Snarfer Theme」的佈景主題,並且您只想要讓在 site_id 為 7 的網路(以及該網路上的所有網站)使用和查看,那麼您就可以將 snarfer 主題目錄放在 /wp-content/ms-themes/7/ 中。

未來版本:

網路選項,以開啟/關閉網路目錄和 index.php 檔案的自動建立功能。
網路選項,在網站的頁尾顯示網路 ID,以便網路管理員可以輕鬆查看該網站屬於哪個網路。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Multisite Themes」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

(NOTE: Before saying this plugin is broken, please understand what this plugin does. It’s meant for WordPress installs that have multiple NETWORKS.)
Adds the ability to have different themes available to different NETWORKS in a multisite atmoshpere.
WordPress allows for multiple “networks”, these are not to be confused with sites. A network holds blogs underneath of it.
This plugin will allow you to separate themes into different directories so they’re only accessable and viewable to the networks you choose.
The plugin will attempt to create a directory in the /wp-content/ directory named /ms-themes/. If it fails to create it, then you will need to make one.
In the /ms-themes/ directory you will create a folder for each network that you want to allow only certain themes to.
Example:
If you have a theme named “Snarfer Theme”, and you want to only allow it to be viewable/available to the network (and all sites on that network) with the site_id of 7, you would place the snarfer theme directory in /wp-content/ms-themes/7/
Future releases:

Network option to turn off auto creation on/off network directories, index.php files.
Network option to display network ID in the footer of sites so network admins can easily tell what network a site is under.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon