Control what widgets your site’s visitors see, with custom visibility rules
As of April 2026, If Widget is a WordPress hide plugin with 1.0K+ active installations and a 4.4/5 rating from 9 reviews. It has been downloaded 14K+ times in total. Requires WordPress false+ and PHP 5.6+. Available on WordPress.org since 2018. Last updated 5 years ago — may have compatibility concerns. Downloads are up 24% this week. Top alternative: Email Encoder – Protect Email Addresses….
With If Widget you can control on which pages widgets are shown. Show or hide widgets with custom visibility rules (no PHP or technical knowledge required).
The plugin is easy to use, each widget will have a new option “Show widget only if” which will enable the selection of visibility rules (example in Screenshots). Visibility rules can be combined with AND/OR to create even more personalised visibility options.
OR Visitor is from USAND Is not mobile deviceThese are the visibility rules you can add for widgets:
User is logged inUser is Ad…This is the only plugin that actually let me target by URL. Other plugins apparently could, but none worked for me. This was the last plugin I was willing to try before giving up. The interface is also simple and intuitive. I hope to see this plugin become more popular!
Tried it. No options in the widget area.
It appears this plug-in no longer works.
I tried other plugins and not fullfil my needs.
But, If Widget – Visibility control for Widgets is the only exceptions.
The main of my need is restrict widget for certain user role, then this plugin solved my problem.
Plugin works fine but would be nice if I could choose something like:
If post id is…, or if category id is…., if tag is….
Or is it possible and I‘m searching too far?
cheers
Rangi
If you are trying the other widget control plugins, you are wasting your time. This one is perfect.
| WordPress | false+ requiredTested up to 5.6.17 |
| PHP | 5.6+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.