What is Display Widgets plugin?
Display Widgets is a WordPress plugin that extends the widget management screen with visibility controls. By default, WordPress shows every widget in a sidebar on every page where that sidebar appears. Display Widgets adds a settings panel to each widget letting you specify exactly where it should or should not appear.
Visibility rules can be set by page type (front page, single posts, archives, search results), specific pages or posts, post categories, tags, custom taxonomies, and user login status (logged in or logged out visitors). This allows a sidebar to serve different relevant content depending on where in the site the visitor is.
Display Widgets is a lightweight solution for sites that use the classic WordPress widget system. For sites using block themes or widgets areas managed through the block editor, visibility is better handled through block conditions or a plugin that supports block-level visibility.
Need Help With Display Widgets Setup, Troubleshooting, or Customization?
Need help with Display Widgets? Whether you are dealing with errors, broken functionality, styling problems, plugin conflicts, or advanced customization, we can help you fix the issue and get the plugin working properly on your WordPress site.
Get Display Widgets Expert HelpKey Features
- Show or hide widgets on specific pages, post types, and categories
- User login status visibility controls
- Visibility by taxonomy terms
- Include or exclude mode per widget
- Works with existing WordPress widget management screen
Pros & Cons
Pros
- Simple interface integrated directly into existing widgets screen
- No page builder required
- Handles both include and exclude logic
Cons
- Designed for the classic widget system -- may not work with block-based widget areas
- Original plugin had security issues in the past -- use an actively maintained fork
Free vs Premium
Display Widgets is free. All visibility control features are included at no cost.
Common Problems & Fixes
Display Widgets visibility rules are not working -- widgets are showing on pages where they should be hidden.
Check that you have saved the widget settings after configuring visibility rules. Visibility settings in the widget panel require their own save action. Also confirm you are using include or exclude logic correctly — include means the widget shows only on the selected pages, exclude means it shows everywhere except the selected pages. If rules seem to save but not apply, check for caching — clear your caching plugin and browser cache and test on a page not served from cache.
Display Widgets is not showing the visibility options in my widget panels.
Display Widgets hooks into the classic widget system screen at Appearance, then Widgets. If you are using a block theme where widgets are managed through the block editor or Full Site Editor, Display Widgets may not be compatible. The plugin adds a settings section to each widget below the standard controls — scroll down within the widget panel to find it. If using the block editor widgets screen, the classic widget UI may need to be restored using the Classic Widgets plugin for Display Widgets to function.
I updated Display Widgets and now it seems to have different behaviour than before.
Display Widgets has had some historical issues with different plugin publishers taking over the plugin. There have been cases where versions were published with problematic code. If you notice unexpected behaviour after an update, deactivate the plugin and check the WordPress plugin page for recent reviews and the changelog. Consider switching to an alternative like Widget Options which has a more consistent maintenance history.
Customization & Developer Notes
How do I show a widget only to logged-in users?
In the widget settings panel at Appearance, then Widgets, expand the widget you want to restrict. Find the Display Widgets visibility section at the bottom of the widget. Enable the user status option and select Logged In Users Only. Save the widget. The widget will now only render for visitors who are logged into the site — logged-out visitors will not see it.
Can I show a different sidebar widget on product pages than on blog post pages in WooCommerce?
Yes. Add both widgets to the same sidebar. On the first widget, use Display Widgets to set it to show only on WooCommerce product single pages (post type: product). On the second widget, set it to show only on post single pages. Each widget will appear only in the appropriate context, giving effectively different sidebars on different content types without registering separate sidebars.
Frequently Asked Questions
Does Display Widgets work with Elementor or other page builders?
Display Widgets controls classic WordPress widget areas registered with register_sidebar. If Elementor or another builder is displaying widgets through its own widget element, Display Widgets visibility rules do not apply. Display Widgets only affects widgets placed through the standard Appearance, then Widgets screen in WordPress admin.
Is Display Widgets safe to use?
The Display Widgets plugin has a complicated history. Versions published between 2017 and 2018 were found to contain malicious code that allowed spam injection. The plugin was removed and then restored with clean code, but the incident raised legitimate concerns. Check when the version you are installing was last reviewed and whether it is actively maintained. Widget Options is a well-maintained alternative with a clean security history.
What is the difference between Display Widgets and Widget Options?
Both add visibility controls to widgets. Widget Options is more actively maintained, has a cleaner security history, and includes more conditions including device type (mobile vs desktop) visibility. Display Widgets is simpler and covers the most common use cases. For new installations, Widget Options is generally the safer and more capable choice.
Can Display Widgets show widgets only on mobile devices?
No. Display Widgets controls visibility by page context and user status, not by device type. For device-based widget visibility, use Widget Options which includes mobile, tablet, and desktop visibility conditions. Alternatively, use CSS media queries to hide specific widgets on certain screen sizes, though this hides them visually while still loading them in the page markup.