Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Widget Display Options

Описание

Widget Display Options adds fields to all registered widgets that allow you to contextually hide or show any widget based on a set of chosen conditions. Many of the conditions accept parameters so you could, for example, only show a widget on the single view of a given page or post, or hide it on the archive pages of a given post type or category, etc.

Additionally this plugin provides an input field to add custom classes to the widget wrappers.

Available Conditions:

Items marked with an * accept parameters.

  • Front Page
  • Blog Index
  • Page*
  • Single*
  • Single Post Type*
  • Post Type*
  • Search Results
  • Page Template*
  • Sticky Post*
  • Attachment
  • 404
  • Archive (common)
  • Date Archive
  • Tag Archive*
  • Category Archive*
  • Taxonomy Archive*
  • Post Type Archive*
  • Author Archive*

For a complete description visit the online usage manual.

Скриншоты

  • Widget Display Options adds extra input fields to the bottom of your active widgets.
  • Check the box labeled "Conditional Display" to access the display options.

Установка

  1. Download the widget-display-options.zip file
  2. Extract the zip file so that you have a folder called «widget-display-options»
  3. Upload the «widget-display-options» folder to the /wp-content/plugins/ directory
  4. Activate the plugin through the Plugins menu in WordPress
  5. Configure your settings in the Settings > Widget Display Options panel
  6. Visit the widgets page under Appearance > Widgets and you should find the extra input fields at the bottom of any active widgets.

To Uninstall Widget Display Options

  1. Deactivate Widget Display Options through the Plugins menu in WordPress.
  2. Click the «delete» link to delete the Widget Display Options plugin. This will remove all of the Widget Display Options files from your plugins directory.

Часто задаваемые вопросы

How are the widgets hidden?

Widget Display Options tests the conditionals before any of the widget code has been run and suppresses the output if the conditions are met. It does NOT use CSS to hide the widgets.

Why am I getting script errors related to widgets that are hidden?

When a widget is «hidden» by this plugin it’s code is never output to the page. If there are any scripts loaded that require the widget markup to be present you could generate a script error if the widget markup is unavailable. This is an edge case, as most well written scripts will test for the existence of an element before trying to work with it.

How can I get support?

We are not able to provide anything other than community based support for this version of Widget Display Options. Please consider upgrading to Widget Display Options Pro for access to our premium support forums.

Отзывы

27.07.2017
best plugin for widget display there is! just have to download it now first as no updates done in 2 years so not showing up in result. please update if you get a chance but ultimately HUGE MASSIVE thank you this plugin has saved me a lot of time and effort time and again. THANK YOU!
Посмотреть все 4 отзыва

Участники и разработчики

«Widget Display Options» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Widget Display Options» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0

  • New: This is the initial release.