该插件尚未通过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.)

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

日本語の説明

安装

  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.

评价

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订阅开发日志

更新日志

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