A couple of days ago, Naiba shared a
method for requiring site-wide registration and login to view content. However, more websites might need users to log in or reach a certain user level to view specific content. So, here's the method: today Naiba shares this plugin called Wicked Block Conditions.
WordPress Plugin。
Plugin Introduction
Wicked Block Conditions is a Gutenberg
editor enhancement plugin. It can display or hide specific block content based on various specific conditions. The judgment conditions supported by Wicked Block Conditions include the following:
- Whether the user is logged in
- User level/role
- Date and time
- Post category or tag
- Post status
- Custom PHP function result
Moreover, multiple conditions can be mixed and combined for use.
Plugin Usage Method
After installing Wicked Block Conditions, you can add a content block in the Gutenberg editor, and on the right side of the screen, you will see a Display Conditions option. As shown in the figure below:

You can choose the conditions for displaying or hiding the block according to your needs. For example, User is logged in, User Has Role (what role the user belongs to). After selection, more detailed judgment settings will appear, as shown in the figure below:

You can choose whether the user belongs to the administrator, editor, or other conditions. After saving, it will work.
Plugin Download
You can search for Wicked Block Conditions in the WordPress backend plugin center to download and install it yourself, or download it via the link below and upload it for installation.
Download LinkMonetize Using This Plugin
Naiba shares a monetization model for this plugin: the website shares resources useful to specific users, then requires users to recharge to upgrade to VIP (manually set their user group after recharge). Of course, if you are willing to spend money, there are paid plugins with similar functions available on the market.
Other Related Plugins and Articles
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.