Blocks by User Role for WordPress

Blocks by User Role for WordPress is a plugin that allows you to show or hide content inside Gutenberg blocks. It is done based on the user role of the visitor, and a wide range of other filters. Some of the filters can be used in combination to create dynamic conditional behavior, and others are simple yet powerful stand-alone filters.

Blocks by User Role for WordPress built for the Gutenberg block editor

Choose between 8 filters and 137 different settings.

  • Filter Behavior (5 settings)
  • User Role and Capabilities (6 settings)
  • Login/Logout Status (3 settings)
  • Restrict Block Settings (8 settings)
  • Date, Time, and Weekdays (12 settings)
  • Template Tags (19 settings)
  • Block Animation (76 settings)
  • WooCommerce (8 settings)

Block Settings

On the right side of the Gutenberg editor are the Document and Block settings, which allows you to tweak the settings for your inserted Blocks.

Filter Behavior

The Filter Behavior tab allows you to choose whether you want to show or hide the Block and at the same time, choose Block visibility for specific devices. The behavior applies to all Blocks inserted into the Blocks by User Role Block.

Blocks by User Role for WordPress - Block Settings

User Role and Capability

The Filter Behavior tab allows you to choose whether you want to show or hide the Block and at the same time, choose Block visibility for specific devices. The behavior applies to all Blocks inserted into the Blocks by User Role Block.

Blocks by User Role for WordPress - User Role and Capability

Login/Logout Status

The Login/Logout Status tab allows you to choose whether the Block content is visible to users that are logged-on or not logged-in, and optionally, you can enable this feature for specific usernames.

Blocks by User Role for WordPress - Login/Logout Status

Restrict Block Settings

The Restrict Block Settings tab allows you to choose the behavior of the Block when the user is accessing the Page or Post where the Block appears.

If you choose to Lock Block, an overlay is showing. You can set the height, color of the background, and color of the text in the overlay. You can also enable Redirect to the Login or add a custom URL.

Blocks by User Role for WordPress - Restrict Block Settings

Date, Time, and Weekdays’s

The Date, Time, and Weekdays tab allow you to choose the specific start date and time, and end date and time for your Block to be visible or hidden depending on what you have selected in the Filter Behavior tab. Optionally you can also choose to apply the filter for specific weekdays, or only use Weekdays without any date or time settings.

Blocks by User Role for WordPress - Date, Time, and Weekdays

Template Tags

The Template Tags tab allow you to choose if the Block is visible when inserted on a Page or Post with a specific template tag. This is considered an advanced feature.

Blocks by User Role for WordPress - Template Tags

Block Animation

The Block Animation tab allows you to add animation to your Block. Choose between more than 76 different CSS animation effects. Subtle motion and animation can enhance design without being too distracting. The animations apply to all content in the Block. You can easily add a subtle effect to any element, making it more appealing to the visitors.

Blocks by User Role for WordPress - Block Animation

WooCommerce

Blocks by User Role for WordPress supports WooCommerce Memberships plugin and WooCommerce Subscriptions plugin.

The WooCommerce tab allows you to show or hide Blocks based on the logged-in visitors’ specific WooCommerce Membership plan and/or whether the visitor has an active subscription.

Blocks by User Role for WordPress - WooCommerce Memberships and Subscriptions

If you have any questions about Calendarize it!, please do not hesitate to ask us in the comment section for the item on Codecanyon. And if you already have Blocks by User Role for WordPress and run into an issue reach out to us via support@righthere.com or our Help Center, and we will be happy to assist you.

Changelog

Version 1.0.0.94064 – October 4, 2019

  • First Release