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

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.)
In addition, you can also add custom CSS clases to Widget. For example, when you add a custom CSS class to the Text Widget, text display margin is 20px, the background color is white. Image display margin is zero, the background transparent. Proper use, such as that you will can.

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 Add Custom CSS style classes to Widget

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.
  • This plug-in just add any custom class name in the Widget. CSS definition of a custom class, you need to add them by editing the theme of style.css.

日本語の説明

屏幕截图

  • Registration of 'Hidden Widgets'.
  • When you register to 'Hidden Widgets', it does not appear in 'Available Widgets'.
  • Using Hashtag, Make the settings for the display conditions of Widgets.
  • Set the display condition by Post ID.
  • Set the display conditions by post Category.
  • Set the display conditions by post Tag.
  • Setting an example to the widget.
  • example Text Widget add clases..

安装

  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.

Note

  • This plugin is required PHP 5.3 or higher

常见问题

Installation Instructions
  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.

Note

  • This plugin is required PHP 5.3 or higher

评价

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
2018年3月26日
Widget Logicと比較すると操作方法が単純明快。 条件分岐タグを覚える必要が無く、どんな条件分岐設定にしているのか一目でわかるのが良い。 ウィジェットにClassを付与することもできる。 使う予定の無い不要なウィジェットをウィジェットページから非表示にする機能があるのも良い。
阅读所有2条评价

贡献者及开发者

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

贡献者

将“Widget Display Filter”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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