If Widget

⭐️ 4.4 (9)

Plugins | Site Design | Menus

If Widget

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

10k downloads
3k active installations
Tested up to WP 5.6.13

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.

Examples

  • Display a widget only if User is logged in
  • Hide widgets if Is mobile device OR Visitor is from US
  • Display widgets only for Admins and Editors
  • Hide Login or Register widgets for Logged in Users
  • Show widget only for Admins AND Is not mobile device

Visibility Rules

These are the visibility rules you can add for widgets:

  • User state: User is logged in
  • User role: User is Admin or Editor (plus all the available roles)
  • User registration: User registration is allowed
  • Post type: Current post type is Post or Product
  • Page type: Current page is Front Page or Blog Page
  • URL: Current URL starts/ends with "this-page"
  • URL: Current URL contains with "keyword"
  • Device detection: Is mobile device
  • Visitor location: Visitor is from US or Spain
  • Visitor language: Visitor language is English or Spanish
  • Third-party plugin integrations: Show if user is in Group "Group Name", Show if user has Subscription "Example Subscription" and more ✱

More Visibility Rules Add-on

The paid Add-on provides more visibility rules and priority support.
Visibility Rules: unlock all visibility rules like: visitor location, membership status, user groups and more. A few examples are marked with ✱ above.
Support: get one-on-one email support for any questions you may have about installing and configuring our plugins.
Get More Visibility Rules.

Support

  • Version: 0.5
  • Last updated: 02 Mar 2019
  • Tested up to WordPress 5.6.13
  • Requires PHP 5.6 or higher
  • FAQ
  • Support forum

If Widget plugin demo
If Widget plugin demo
Enable and choose visibility rules for Widgets
Enable and choose visibility rules for Widgets
Visibility rules
Visibility rules
Mix multiple visibility rules
Mix multiple visibility rules

Licenses & pricing for If Widget

GPL

Free

  • Free updates forever
  • Install on unlimited websites
  • Support on WordPress.org forum

Get from WordPress.org

Premium Add-on
More Visibility Rules

From $20

  • Geo location visibility rules
  • Third-party plugins integration
  • Priority support

Learn more

Overall rating ⭐️ 4.4

Based on 9 reviews

⭐️⭐️⭐️⭐️⭐️
7
⭐️⭐️⭐️⭐️
1
⭐️⭐️⭐️
0
⭐️⭐️
0
⭐️
1