If Widget

⭐️no reviews yet

Plugins | Site Design | Menus

If Widget

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

400+ downloads
100+ active installations
Tested up to WP 5.1

Control what widgets your site’s visitors see, based on visibility rules. Here are a few examples:

  • Display a widget only if current User is logged in
  • Hide widgets if Device is mobile
  • Display widgets for Admins and Editors
  • Hide Login or Register widgets for Logged in Users

The plugin is easy to use, each widget will have a new option “Show widget only if” which will enable the selection of rules (example in Screenshots)

Features

  • Basic set of visibility rules
    • User state User is logged in
    • User roles Admin Editor Author etc
    • Page type Front page Blog page
    • Post type Post Page Product etc
    • Visitor device Is Mobile
    • Current URL contains or ends with word your-product
  • Multiple rules – mix multiple rules for a widget visibility
    • show if User is logged in AND Device is mobile
    • show if User is Admin AND Is Front page
  • Support for adding custom visibility rules

Example of adding a new visibility rule is described in the FAQ section

Support

  • Last updated: 02 Mar 2019
  • Version: 0.2
  • Tested up to: WordPress 5.1
  • Requires PHP: 5.4 or higher
  • FAQ
  • Support forum
Enable of visibility rules for Widgets
Enable of 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