If Widget - Visibility control for Widgets
by Andrei 4.4 (9 reviews)

If Widget - Visibility control for Widgets

Control what widgets your site’s visitors see, with custom visibility rules

If Widget ranks #6,213 among WordPress.org plugins with 1,000+ active installations, is #797 of 8,559 in the Customization category, a 4.4/5 rating from 9 reviews, and was last updated Jan 18, 2021. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 5.6 (Current: 7.1.1)
vtrunk Current Version vtrunk
Updated 5 years ago Last Update on 18 Jan, 2021
Refreshed 7 hours ago Last Refreshed on
#797 of 8,559 in Customization Top 10% by installs No update in over a year
View on WordPress.org
Rank
#6,213
+9 this week
Active Installs
1K+
-32.2%
KW Avg Position
N/A
No change
Downloads
14.6K
+4 today
Support Resolved
0%
No change
Rating
88%
Review 4.4 out of 5
4.4 (9 reviews)

Next Milestone 2K

Total Progress 44.9%
1K+ 2K+
1,088
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 551 more installs to reach 2K+

Rank Changes

6,208 6,214 6,221 6,227 6,233 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026
6,208 6,216 6,223 6,231 6,238 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026
Current #6,213
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026
0 10 20 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.4
9 reviews
Overall 88%
5
7 (78%)
4
1 (11%)
3
0 (0%)
2
0 (0%)
1
1 (11%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for If Widget. Checked 1 month ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners who want to control widget visibility without writing code. It solves the problem of showing or hiding widgets based on rules like login status, user role, device, or URL, combinable with AND/OR logic.

  • Show widget if logged in
  • Visibility rules by user role
  • Rules by post type
  • Rules by page type
  • URL-based visibility rules
  • Mobile device detection
  • Combine rules with AND/OR
  • Third-party plugin integrations

Frequently Asked Questions

Common questions about If Widget - Visibility control for Widgets

On Widgets editing page, each widget will have a section for controlling visibility. Enable the option "Show widget only if" to reveal and configure visibility rules (Example in screenshots).
New rules can be added by code in any other plugin or theme. Example of adding a new custom rule for displaying/hiding a widget when current page is a custom-post-type. // theme's functions.php or plugin file add_filter('if_visibility_rules', 'my_new_visibility_rule'); function my_new_visibility_rule(array $rules) { $rules['single-my-custom-post-type'] = array( 'name' => __('Single my-CPT', 'i18n-domain'), // name of the condition 'callback' => function() { // callback - must return Boolean return is_singular('my-custom-post-type'); } ); return $rules; }
WordPress provides a lot of functions which can be used to create custom rules for almost any combination that a theme/plugin developer can think of.

More plugins by Andrei

Sign In / Register

You need to sign in or register to use this feature.