Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Widget Display Filter

Beskrivning

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

日本語の説明

Installation

  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.

Recensioner

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

Bidragsgivare och utvecklare

”Widget Display Filter” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Widget Display Filter” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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