這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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