Title: Multisite Themes
Author: Maxaud
Published: <strong>2010 年 2 月 15 日</strong>
Last modified: 2013 年 2 月 17 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/multisite-themes.svg)

# Multisite Themes

 由 [Maxaud](https://profiles.wordpress.org/maxaud/) 開發

[下載](https://downloads.wordpress.org/plugin/multisite-themes.1.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/multisite-themes/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/multisite-themes/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/multisite-themes/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/multisite-themes/#developers)

 [技術支援](https://wordpress.org/support/plugin/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.

## 安裝方式

Drop into either your /mu-plugins/ directory, or your plugins directory and activate
it.

 1. Upload `ms-themes.php` to the `/wp-content/plugins/` directory, or the `/wp-content/
    mu-plugins/` directory.
 2. Activate the plugin network-wide through the ‘Plugins’ menu in WordPress (if placed
    in the the `/wp-content/plugins/` directory)
 3. Place theme files in their appropriate network directories in `/wp-content/ms-themes/`

## 常見問題集

  Why?

I was providing clients with wpmu/wpms sites and I needed a way to make only certain
themes available to certain network admins.

  This is already doable when you edit a blog in the admin!

This is a common misconception.
 Technically it’s not. Remember, a network is different
than a site. A network contains sites. A network can be at Domain1.com while you
have another network at Domain2.com, both with different sites underneath of them

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ Maxaud ](https://profiles.wordpress.org/maxaud/)

[將〈Multisite Themes〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/multisite-themes)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/multisite-themes/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/multisite-themes/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/multisite-themes/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/multisite-themes/)。

## 變更記錄

#### 1.3

 * Changed function hook as recommended by Daniel Bachhuber: https://wordpress.org/
   support/profile/danielbachhuber
 * Changed files to reflect name changes that WordPress 3.0 brought fourth when 
   inegration MU. Changed “Site” to “Network” and “Blog” to “Site.”

#### 1.2

 * Auto creation of the /ms-themes/ directory
 * Auto creation of /index.php in /ms-themes/ directory (prevents directory from
   being indexed)
 * Auto creation of /index.php in /ms-themes/## directory where ## is the site’s
   id (prevents directory from being indexed)
 * The newly created /index.php files redirect to the site’s domain when you navigate
   to them

#### 1.1

 * Fixed some coding errors.

#### 1.0

 * First Release.

## 中繼資料

 *  版本 **1.3**
 *  最後更新 **13 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.6.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/multisite-themes/)
 * 標籤:
 * [directory](https://tw.wordpress.org/plugins/tags/directory/)[multi-site](https://tw.wordpress.org/plugins/tags/multi-site/)
   [multisite](https://tw.wordpress.org/plugins/tags/multisite/)[theme](https://tw.wordpress.org/plugins/tags/theme/)
   [themes](https://tw.wordpress.org/plugins/tags/themes/)
 *  [進階檢視](https://tw.wordpress.org/plugins/multisite-themes/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/multisite-themes/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/multisite-themes/reviews/)

## 參與者

 *   [ Maxaud ](https://profiles.wordpress.org/maxaud/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/multisite-themes/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://playforward.net/multisite-themes.html)