Title: Restrict Widgets
Author: dFactory
Published: <strong>2013 年 4 月 7 日</strong>
Last modified: 2017 年 1 月 18 日

---

搜尋外掛

![](https://ps.w.org/restrict-widgets/assets/banner-772x250.png?rev=693222)

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

![](https://ps.w.org/restrict-widgets/assets/icon-256x256.png?rev=1018448)

# Restrict Widgets

 由 [dFactory](https://profiles.wordpress.org/dfactory/) 開發

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

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

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

## 外掛說明

[Restrict Widgets](http://www.dfactory.eu/plugins/restrict-widgets/) is all in one
solution for widget management in WordPress. It lets you easily control the pages
that each widget will appear on and avoid creating multiple sidebars and duplicating
widgets. You can also set who can manage widgets, which sidebars and widgets will
be available to selected users, which widget options will be available and how it
will be displayed.

By default, Hide widget on selected is enabled with no options selected, so all 
current widgets will continue to display on all pages.

For more information, check out plugin page at [dFactory](http://www.dfactory.eu/)
or plugin [support forum](http://www.dfactory.eu/support/forum/restrict-widgets/).

#### Features include:

 * Hide or display each widget on selected pages, posts, categories, custom taxonomies,
   custom post types, single posts, archives, special pages, for logged in or logged
   out users, current language, mobile device and so on
 * Select which user roles are restricted to manage widgets
 * Select which sidebars will be restricted to admins only
 * Select which widgets will be restricted to admins only
 * Select which widget options will be restricted to admins only
 * Choose to display or not widget options as groups
 * Option to modify the is_active_sidebar() function to use Restrict Widgets display
   settings
 * Multisite compatible
 * WPML compatible
 * Polylang compatible
 * .pot file for translations included

#### Translations:

 * Chinese – by Changmeng Hu
 * Czech – by Martin Kucera
 * German – by [Angelika Reisiger](http://apart-webdesign.de/)
 * Hebrew – by [Ahrale Shrem](http://atar4u.com/)
 * Italian – by [Davide Pante](http://sododesign.it/)
 * Polish – by Bartosz Arendt

## 螢幕擷圖

 * [[
 * screenshot-1.png
 * [[
 * screenshot-2.png

## 安裝方式

 1. Install Restrict Widgets either via the WordPress.org plugin directory, or by uploading
    the files to your server
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the Widgets menu and set your desired widgets options.

## 常見問題集

No questions yet.

  Installation Instructions

 1. Install Restrict Widgets either via the WordPress.org plugin directory, or by uploading
    the files to your server
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the Widgets menu and set your desired widgets options.

## 使用者評論

![](https://secure.gravatar.com/avatar/7a48411866c0c4a8a978d51344ef22e0211c8957d4261c578500773cc2c6e642?
s=60&d=retro&r=g)

### 󠀁[works great !!](https://wordpress.org/support/topic/works-great-7402/)󠁿

 [eMs](https://profiles.wordpress.org/emsemsyo/) 2021 年 1 月 14 日

Thank you

![](https://secure.gravatar.com/avatar/379d68b64a221952bf9f8b74314858d41c42123f094f8f8cdcba191cc5ade8d5?
s=60&d=retro&r=g)

### 󠀁[Super !!!](https://wordpress.org/support/topic/super-1397/)󠁿

 [solgaz](https://profiles.wordpress.org/solgaz/) 2019 年 3 月 24 日

Отличный плагин! простой в использовании и легкий.

![](https://secure.gravatar.com/avatar/f252f9d2860c00b6b204f89ef27b705ec1671447f2f26684e3749d503843eacc?
s=60&d=retro&r=g)

### 󠀁[Just Works](https://wordpress.org/support/topic/just-works-456/)󠁿

 [karenrbnt](https://profiles.wordpress.org/karenrbnt/) 2018 年 9 月 25 日

I know this plugin has net been updated recently but it seems to always just work
flawlessly. Working with WP 4.9.8

![](https://secure.gravatar.com/avatar/c111789b06b865ff5c4db176d06c309ddadf39982b082b12956e603e2e8d9a4d?
s=60&d=retro&r=g)

### 󠀁[Works, but not for bbPress Sidebar](https://wordpress.org/support/topic/works-but-not-for-bbpress-sidebar/)󠁿

 [ohkevmanaol](https://profiles.wordpress.org/ohkevmanaol/) 2018 年 6 月 19 日

Does not work with bbPress Sidebar. This is why i hate WP. No standardization.

![](https://secure.gravatar.com/avatar/773a2ba0710a55a1ac78e9db19a5ab9c78978510b444d55e80da05fdfe7a4027?
s=60&d=retro&r=g)

### 󠀁[Doesn’t Work with WP 4.8.3](https://wordpress.org/support/topic/doesnt-work-with-wp-4-8-3/)󠁿

 [riverrunmedia](https://profiles.wordpress.org/riverrunmedia/) 2017 年 11 月 15
日 2 則留言

Widgets still appear on pages where I chose to hide them.

![](https://secure.gravatar.com/avatar/72971ab6d6397c4220e11e5e3770cc6975acadc7384ae145c9ba7de351ad4bec?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-653/)󠁿

 [Ettery](https://profiles.wordpress.org/ettery/) 2017 年 10 月 26 日

Perfect, quick and easy, did exactly what I wanted – shows certain widgets only 
to logged-on users.

 [ 閱讀全部 36 則使用者評論 ](https://wordpress.org/support/plugin/restrict-widgets/reviews/)

## 參與者及開發者

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

參與者

 *   [ dFactory ](https://profiles.wordpress.org/dfactory/)

〈Restrict Widgets〉外掛目前已有 10 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/restrict-widgets/contributors)
為這個外掛做出的貢獻。

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

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

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

## 變更記錄

#### 1.3.1

 * New: Categories and Tags available in Taxonomy selection
 * Tweak: Removed local translation files in favor of WP repository translations.

#### 1.3.0

 * New: Customizer support
 * New: Dedicated options page
 * Tweak: Switched from Chosen.js to Select2 script
 * Tweak: General code cleanup

#### 1.2.9

 * New: Italian translation by [Davide Pante](http://sododesign.it/)

#### 1.2.8

 * New: German translation by [Angelika Reisiger](http://apart-webdesign.de/)

#### 1.2.7

 * Fix: Enable display/hide on any single page
 * Tweak: Change post type archive detection from get_post_type() to get_query_var

#### 1.2.6.1

 * Fix: Page hide/display settings broken after 1.2.6 update

#### 1.2.6

 * New: Hebrew translation by [Ahrale Shrem](http://atar4u.com/)

#### 1.2.5

 * Tweak: UI improvements
 * Tweak: jQuery chosen updated to 1.2.0

#### 1.2.4

 * Tweak: Widget options interface adjustments
 * Tweak: Confirmed WP 4.0 compatibility

#### 1.2.3

 * Fix: Language options not accessible for WPML and Polylang

#### 1.2.2

 * Tweak: UI fixes for WP 3.8

#### 1.2.1

 * Fix: tags not working properly
 * Tweak: UI fixes for WP 3.8

#### 1.2.0

 * New: Multisite support
 * New: Option to hide / show widget depending on the device (mobile or not)
 * New: bbPress specific options for hide / show widget
 * Fix: get_class error on widgets not using Widgets API
 * Fix: Logged-in or out users option not working properly

#### 1.1.4

 * New: Introducing rw_option_display_name filter hook
 * Tweak: WPML not displaying page names in default site language

#### 1.1.3

 * New: Czech translation by Martin Kucera

#### 1.1.2

 * New: Option to modify the is_active_sidebar() function to use Restrict Widgets
   display settings
 * Fix: Compatibility fix for WordPress 3.6

#### 1.1.1

 * Tweak: Optimized rw_display_widget() filter
 * New: Chinese translation by Changmeng Hu

#### 1.1.0

 * Fix: Show on selected not working in some cases
 * Fix: Restricting on user_logged_in/out
 * Fix: Restricting for Polylang and WPML languages
 * New: Introducing filter rw_display_widget()

#### 1.0.1

 * Fix: Widget options not saving if no options selected

#### 1.0

Initial release

## 中繼資料

 *  版本 **1.3.1**
 *  最後更新 **9 年前**
 *  啟用安裝數 **4,000+**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.7.33**
 *  語言
 * [Chinese (China)](https://cn.wordpress.org/plugins/restrict-widgets/)、[Czech](https://cs.wordpress.org/plugins/restrict-widgets/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/restrict-widgets/)、[English (US)](https://wordpress.org/plugins/restrict-widgets/)、
   [French (France)](https://fr.wordpress.org/plugins/restrict-widgets/)、[German](https://de.wordpress.org/plugins/restrict-widgets/)、
   [Hebrew](https://he.wordpress.org/plugins/restrict-widgets/)、[Italian](https://it.wordpress.org/plugins/restrict-widgets/)、
   [Polish](https://pl.wordpress.org/plugins/restrict-widgets/)、[Russian](https://ru.wordpress.org/plugins/restrict-widgets/)、
   及 [Swedish](https://sv.wordpress.org/plugins/restrict-widgets/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/restrict-widgets)
 * 標籤:
 * [cms](https://tw.wordpress.org/plugins/tags/cms/)[conditional-tags](https://tw.wordpress.org/plugins/tags/conditional-tags/)
   [widget](https://tw.wordpress.org/plugins/tags/widget/)[widget-only](https://tw.wordpress.org/plugins/tags/widget-only/)
   [widgets](https://tw.wordpress.org/plugins/tags/widgets/)
 *  [進階檢視](https://tw.wordpress.org/plugins/restrict-widgets/advanced/)

## 評分

 4.8 星，滿分為 5 星

 *  [  33 個 5 星使用者評論     ](https://wordpress.org/support/plugin/restrict-widgets/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/restrict-widgets/reviews/?filter=4)
 *  [  2 個 3 星使用者評論     ](https://wordpress.org/support/plugin/restrict-widgets/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/restrict-widgets/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/restrict-widgets/reviews/?filter=1)

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

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

## 參與者

 *   [ dFactory ](https://profiles.wordpress.org/dfactory/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://www.dfactory.eu/)