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.
Items marked with an * accept parameters.
- Front Page
- Blog Index
- Single Post Type*
- Post Type*
- Search Results
- Page Template*
- Sticky Post*
- Archive (common)
- Date Archive
- Tag Archive*
- Category Archive*
- Taxonomy Archive*
- Post Type Archive*
- Author Archive*
For a complete description visit the online usage manual.
- 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.
- New: This is the initial release.