Title: Restrict Multisite Widgets
Author: Adam Harley (Kawauso)
Published: <strong>2010 年 8 月 10 日</strong>
Last modified: 2011 年 7 月 19 日

---

搜尋外掛

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

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

# Restrict Multisite Widgets

 由 [Adam Harley (Kawauso)](https://profiles.wordpress.org/kawauso/) 開發

[下載](https://downloads.wordpress.org/plugin/restrict-multisite-widgets.1.1.4.zip)

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

 [技術支援](https://wordpress.org/support/plugin/restrict-multisite-widgets/)

## 外掛說明

A quick adaptation of the theme restriction code for widgets. Can only restrict 
on a site-wide basis, though it will only affect those sites on which it’s activated.
Does not restrict super admins. Plugins **must** be active on the main site to be
controlled by this plugin (this is an issue with WordPress’ plugin structure).

See also: [Restrict Multisite Plugins](https://wordpress.org/extend/plugins/restrict-multisite-plugins/)

## 安裝方式

 1. Upload `restrict-multisite-widgets.php` to `/wp-content/plugins/` directory
 2. Network Activate the plugin through the ‘Plugins’ menu OR Activate the plugin through
    the ‘Plugins’ menu of every WordPress site you wish to restrict
 3. Select widgets to make available under the ‘Widget Restrictions’ section in the‘
    Themes’ menu in the Network Admin or ‘Widgets’ section in the ‘Super Admin’ menu

## 常見問題集

  Can I enable widgets only for individual sites?

No. You can as a Network Admin however activate widgets for individual sites without
restrictions.

  Will this plugin affect widgets already activated by site admins?

Yes. If a widget is activated by a site admin and disabled by this plugin, it will
be disabled immediately.

  Why doesn’t this plugin display widgets I’ve activated on a single site? / Why
does this plugin display widgets I’ve activated on my main site?

Due to the way WordPress MultiSite is written, it isn’t possible for the plugin 
to reliably detect what widgets are available on sites other than the main site.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Adam Harley (Kawauso) ](https://profiles.wordpress.org/kawauso/)

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

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

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

## 變更記錄

#### 1.1.4

 * Fixed bug with removing single instance widgets introduced in 1.1.3 (thanks israelwebdev)

#### 1.1.3

 * Activation state check for menus to support single blog activation
 * Fixed single instance widget detection (PHP isset() quirk)
 * Moved to native single instance widget removal

#### 1.1.2

 * Changed class loading to admin-only to avoid unintentional frontend restrictions(
   thanks dwieeb)

#### 1.1.1

 * Improved support for older plugin widgets
 * Standardised capability used to ‘manage_network_themes’
 * Changed plugin class back to dynamic callbacks

#### 1.1

 * Added support for Network Admin
 * Moved page to Network Admin -> Themes -> Widget Restrictions under WordPress 
   3.1 and higher
 * Changed plugin class to static callbacks

#### 1.0

 * First public release

## 中繼資料

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

## 評分

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

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

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

## 參與者

 *   [ Adam Harley (Kawauso) ](https://profiles.wordpress.org/kawauso/)

## 技術支援

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

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