Title: Widgets Control
Author: itthinx
Published: <strong>2015 年 3 月 10 日</strong>
Last modified: 2025 年 12 月 20 日

---

搜尋外掛

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

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

# Widgets Control

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

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

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

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

## 外掛說明

_Widgets Control_ is a toolbox that features visibility management for all widgets,
sidebars, sections of content and content blocks.
 It allows to **show widgets and
sidebars based on conditions** – you can choose to show them only on certain pages
or exclude them from being displayed.

**Sections** of content can also be restricted by using this plugin’s `[widgets_control]`
shortcode.

You can also define new WYSIWYG **Content Blocks** that can be used in widgets, 
sidebars and with shortcodes.

For each widget and sidebar, you can decide where it should be displayed:

 * show it on all pages
 * show it on some pages
 * show it on all except some pages

… you can target small, medium or large screens for mobile, tablet and desktop users.

To include or exclude pages, the plugin allows you to indicate page ids, titles 
or slugs and tokens that identify the front page, categories, tags, etc.

In addition to page ids, titles and slugs, these tokens can be used to determine
where a widget should or should not be displayed:

    ```
    [home] [front] [single] [page] [category] ...
    ```

On sites using [WPML](https://wpml.org), widgets can be shown conditionally based
on the language viewed.

The `[widgets_control]` shortcode is used to embed content and show it conditionally
similar to the visibility options used for widgets and sidebars.
 For example, `[
widgets_control conditions="{archive}"]This text is shown only when the content 
is displayed on an archive page.[/widgets_control]`.

_Widgets Control_ also provides **flexible WYSIWYG Content Blocks** and a proper
widget that can be used to place them in sidebars,
 the `[widgets_control_content]`
shortcode to embed freely created blocks anywhere on your pages and API functions
that allow to include these blocks in PHP templates of your theme. For even more
flexible control, use [Widgets Control Pro](https://www.itthinx.com/shop/widgets-control-pro/)
which provides freely definable additional sidebars.

Use display conditions to show or hide content on devices with small, medium or 
large displays, useful to adapt the display to **mobile, tablet and desktop** viewers.

See the [documentation](http://docs.itthinx.com/document/widgets-control/) for more
details.

_Widgets Control_ works with virtually any widget. It is compatible with lots of
plugins, among these it has been tested with:

 * [Groups](https://wordpress.org/plugins/groups/)
 * [Affiliates](https://wordpress.org/plugins/affiliates/)
 * [Decent Comments](https://wordpress.org/plugins/decent-comments/)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [WooCommerce Product Search](https://www.itthinx.com/shop/woocommerce-product-search/)
 * [Search Live](https://wordpress.org/plugins/search-live/)
 * [Documentation](https://wordpress.org/plugins/documentation/)
 * [Events Manager](https://wordpress.org/plugins/events-manager/)
 * [BuddyPress](https://buddypress.org)
 * [bbPress](https://wordpress.org/plugins/bbpress/)
 * [Ninja Forms](https://wordpress.org/plugins/ninja-forms)
 * [Gravity Forms](https://gravityforms.com/)
 * [Jetpack](https://wordpress.org/plugins/jetpack/)
 * [WPML](https://wpml.org)
 * [NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Image Widget](https://wordpress.org/plugins/image-widget/)
 * [MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [MailPoet Newsletters](https://wordpress.org/plugins/wysija-newsletters)
 * [Elementor](https://wordpress.org/plugins/elementor/)

### Widgets Control Pro

Our [Widgets Control Pro](https://www.itthinx.com/shop/widgets-control-pro/) provides
additional features:

 * Conditions based on the viewed **post type**. For example, show a widget only
   on posts with `[type:post]` or only on product pages with `[type:product]`
 * Show or hide widgets on full **page hierarchies**, where conditions are based
   on a parent page and all its child pages: `some-page/*`
 * Show or hide widgets based on user **roles**. For example, show a widget to subscribers
   and customers only: `[role:subscriber,customer]`
 * Show or hide widgets based on a user’s **group membership** with [Groups](https://wordpress.org/plugins/groups/).
   For example, show a widget only to registered users with `[group:Registered]`
   or show a widget only to users in a Premium group using `[group:Premium]`
 * Show or hide widgets for archive pages of a specific post type. For example, `[
   archive:product]` can be used to show widgets for the WooCommerce shop page and
   product archives only.
 * Allows to specify exclusions. For example, to show a widget only on pages, but
   exclude it from being shown on one or more specific pages.
 * Provides additional **sidebar features** that allow to define any number of **
   custom sidebars**, flexible placement based on common locations, including above
   and below content, the comment form, menus and other sidebars, the `[widgets_control_sidebar]`
   shortcode to embed them in content on your pages and API functions to use them
   in your theme’s templates.

### Feedback

Feedback is welcome!

If you need help, have problems, want to leave feedback or want to provide constructive
criticism, please do so here at the [Widgets Control](https://www.itthinx.com/plugins/widgets-control/)
plugin page.

Please try to solve problems there before you rate this plugin or say it doesn’t
work. There goes a _lot_ of work into providing you with quality plugins!

Please help with your feedback and we’re also grateful if you help spread the word
about this plugin.

**Thanks!**

#### Twitter

Follow [@itthinx](https://twitter.com/itthinx) on Twitter for updates on this and
other plugins.

## 螢幕擷圖

 * [[
 * Widget visibility example I.
 * [[
 * Widget visibility example II.
 * [[
 * Widget visibility example III.
 * [[
 * Sidebar visibility example.
 * [[
 * Shortcode usage examples to restrict sections of content.
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[

## 安裝方式

#### Dashboard

Log in as an administrator and go to **Plugins > Add New**.

Type _Widgets Control_ in the search field and click _Search Plugins_, locate the
_Widgets Control__ plugin by __itthinx_ and install it by clicking _Install Now_.

Now _activate_ the plugin to have the widget placement features available.

#### FTP

You can install the plugin via FTP, see [Manual Plugin Installation](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

## 常見問題集

### Where is the documentation for this plugin?

You can find the documentation on the [Widgets Control](http://docs.itthinx.com/document/widgets-control/)
documentation pages.

## 使用者評論

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

### 󠀁[Widgets Control OK](https://wordpress.org/support/topic/widgets-control-ok/)󠁿

 [edwin12345678](https://profiles.wordpress.org/edwin12345678/) 2022 年 8 月 7 日

Widgets Control OK

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

### 󠀁[It is amazing .](https://wordpress.org/support/topic/it-is-amazing-12/)󠁿

 [blackf0228](https://profiles.wordpress.org/blackf0228/) 2022 年 7 月 14 日 1 則
留言

Very useful!!

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

### 󠀁[THX for this great plugin](https://wordpress.org/support/topic/thx-for-this-great-plugin/)󠁿

 [hikingtom](https://profiles.wordpress.org/hikingtom/) 2019 年 12 月 23 日

easy and direct access to widgets

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

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-1881/)󠁿

 [jakirhossainb](https://profiles.wordpress.org/jakirhossainb/) 2019 年 4 月 7 日

I am really grateful to WordPress. Its very useful for me. Nice site.

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

### 󠀁[Love this plugin](https://wordpress.org/support/topic/love-this-plugin-713/)󠁿

 [Anticosti](https://profiles.wordpress.org/anticosti/) 2018 年 11 月 10 日

A must use plugin. Good job!

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

### 󠀁[Don’t Know How Good It Is](https://wordpress.org/support/topic/dont-know-how-good-it-is/)󠁿

 [Bruce](https://profiles.wordpress.org/sliderbugger/) 2018 年 9 月 22 日

Just doing review so the damn thang will go the Hell away off my admin page.

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

## 參與者及開發者

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

參與者

 *   [ itthinx ](https://profiles.wordpress.org/itthinx/)
 *   [ Kento ](https://profiles.wordpress.org/proaktion/)

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

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

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

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

## 變更記錄

See the full [changelog](https://plugins.svn.wordpress.org/widgets-control/trunk/changelog.txt)
for details.

## 中繼資料

 *  版本 **3.0.0**
 *  最後更新 **5 個月前**
 *  啟用安裝數 **800+**
 *  WordPress 版本需求 ** 6.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/widgets-control/) 及 [Italian](https://it.wordpress.org/plugins/widgets-control/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/widgets-control)
 * 標籤:
 * [context](https://tw.wordpress.org/plugins/tags/context/)[sidebar](https://tw.wordpress.org/plugins/tags/sidebar/)
   [theme](https://tw.wordpress.org/plugins/tags/theme/)[visibility](https://tw.wordpress.org/plugins/tags/visibility/)
   [widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/widgets-control/advanced/)

## 評分

 4.7 星，滿分為 5 星

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

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

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

## 參與者

 *   [ itthinx ](https://profiles.wordpress.org/itthinx/)
 *   [ Kento ](https://profiles.wordpress.org/proaktion/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](https://www.itthinx.com/shop/widgets-control-pro/)