Title: Widget Display Filter
Author: enomoto celtislab
Published: <strong>2015 年 8 月 7 日</strong>
Last modified: 2022 年 2 月 24 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/widget-display-filter/assets/icon-256x256.png?rev=1214516)

# Widget Display Filter

 作者：[enomoto celtislab](https://profiles.wordpress.org/enomoto-celtislab/)

[下载](https://downloads.wordpress.org/plugin/widget-display-filter.zip)

 * [详情](https://cn.wordpress.org/plugins/widget-display-filter/#description)
 * [评价](https://cn.wordpress.org/plugins/widget-display-filter/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/widget-display-filter/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/widget-display-filter/#developers)

 [支持](https://wordpress.org/support/plugin/widget-display-filter/)

## 描述

It defines Hashtags that are associated with the display conditions. and use Hashtag
to manage the display conditions of the widget. By setting the same Hashtag to multiple
widgets, you can easily manage as a group. (
 Of course, Hashtag does not appear
at run time.)

Feature

 * Support Device filter (Discrimination of Desktop / Mobile device uses the wp_is_mobile
   function)
 * Support Post Format type filter
 * Support Post category and tags filter
 * Support Custom Post type filter
 * Support Widget Group block (Widget by Block after WP5.9)

Usage

 1. Open the menu – “Appearance -> Widget Display Filter”, and configure and manage
    the display conditions of Widgets.
 2. Definition of Hashtags associated with the widget display conditions.
 3. Open the menu – “Appearance -> Widgets”, and set the display condition for each
    widget.
 4. If you enter Hashtag in Widget Title input field, its display condition is enabled.

Notice

 * Hashtag that can be set for each widget is only one.
 * Between Hashtag and title should be separated by a space.

For more detailed information, there is an introduction page.

[Documentation](https://celtislab.net/en/wp_widget_display_filter/)

[日本語の説明](https://celtislab.net/wp_widget_display_filter/)

## 安装

 1. Upload the `widget-display-filter` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the `Plugins` menu in WordPress
 3. Set up from `Widget Display Filter` to be added to the Appearance menu of Admin
    mode.

## 评价

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

### 󠀁[It should be the leader of similar plugins](https://wordpress.org/support/topic/it-should-be-the-leader-of-similar-plugins/)󠁿

 [ugotta](https://profiles.wordpress.org/ugotta/) 2018 年 10 月 22 日

If you are tired of using widget logic and widget options, try this one. With Widget
Display Filter, your widget panel is instantly straightforward, and each widget 
doesn’t have to expand to see the logical settings. Simply and directly, there is
a hint in widget title. You can also filter desktop and mobile devices, and you 
can also add class styles separately. Such a good plugin has no corresponding downloads.
Here I would like to write five stars’ comments. By the way, the plugin author’s
Plugin Load Filter. Hope for continuous updates

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

### 󠀁[使いやすい](https://wordpress.org/support/topic/%e4%bd%bf%e3%81%84%e3%82%84%e3%81%99%e3%81%84-2/)󠁿

 [moyo55](https://profiles.wordpress.org/moyo55/) 2018 年 3 月 26 日

Widget Logicと比較すると操作方法が単純明快。 条件分岐タグを覚える必要が無く、どんな
条件分岐設定にしているのか一目でわかるのが良い。 ウィジェットにClassを付与すること
もできる。 使う予定の無い不要なウィジェットをウィジェットページから非表示にする機能
があるのも良い。

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/widget-display-filter/reviews/)

## 贡献者及开发者

「Widget Display Filter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ enomoto celtislab ](https://profiles.wordpress.org/enomoto-celtislab/)

[帮助将「Widget Display Filter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/widget-display-filter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/widget-display-filter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/widget-display-filter/)，或通过[RSS](https://plugins.trac.wordpress.org/log/widget-display-filter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/widget-display-filter/)。

## 更新日志

#### 2.0.0

 * 2022-2-22 Add : Widget Group block filter
 * refactored the processing code
 * discon : Custom CSS style classes to Widget

#### 1.2.1

 * 2018-03-26 Code correction for PHP 7.1

#### 1.2.0

 * 2016-09-05 Support Multisite

#### 1.1.0

 * 2015-10-05 Support Add Custom CSS style classes to Widget

#### 1.0.0

 * 2015-08-05 Release

## 额外信息

 *  版本 **2.0.0**
 *  最后更新：**4 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  PHP 版本 ** 7.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/widget-display-filter/)
 * 标签
 * [conditional-tags](https://cn.wordpress.org/plugins/tags/conditional-tags/)[filter](https://cn.wordpress.org/plugins/tags/filter/)
   [hide](https://cn.wordpress.org/plugins/tags/hide/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/widget-display-filter/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/widget-display-filter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/widget-display-filter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/widget-display-filter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/widget-display-filter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/widget-display-filter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/widget-display-filter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/widget-display-filter/reviews/)

## 贡献者

 *   [ enomoto celtislab ](https://profiles.wordpress.org/enomoto-celtislab/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/widget-display-filter/)