If Widget

⭐️5 (1)

Plugins | Site Design | Menus

If Widget

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

1k downloads
300+ active installations
Tested up to WP 5.3

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.4
  • Last updated: 02 Mar 2019
  • Tested up to WordPress 5.3
  • Requires PHP 5.4 or higher
  • FAQ
  • Support forum
Enable and choose visibility rules for Widgets
Enable and choose visibility rules for Widgets
Visibility rules
Visibility rules

Licenses & Pricing

GPL

Free

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

Get from WordPress.org

Add-on More Visibility Rules

From $20

  • More features
  • Priority support

Learn more

Overall rating ⭐️ 5

Based on 1 reviews

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