plugin-icon

If Widget – Visibility control for Widgets

作者:Andrei·
Control what widgets your site’s visitors see, with custom visibility rules
评级
4.4/5
版本
0.5
活跃安装
1K
最后更新
Jan 18, 2021
If Widget – Visibility control for Widgets

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.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.6.16
这个插件是可用的下载,适用于您的站点。