Home WP Plugins Standard Post

Standard Post

Display or Hide Website Content Based on Conditions Wicked Block Conditions

A couple of days ago, Naiba shared a method that requires registration and login to view all content on the site. However, more websites may need user login or require users to reach a certain level to view partial content. So here's the method: today Naiba will share a WordPress plugin called Wicked Block Conditions. Plugin Introduction...

Updated on November 1, 2019 About 2 minutes read
网站内容根据条件显示或者隐藏Wicked Block Conditions

A couple of days ago, Naiba shared amethod for requiring site-wide registration and login to view content, however, more websites may need user login or require users to reach a certain level to view partial content.

So here's the method: today Naiba will share a WordPress plugin called Wicked Block ConditionsWordPress Plugin

Plugin Introduction

Wicked Block Conditions is a Gutenbergeditor enhancement plugin. It can display or hide specific block content based on various specific conditions.

The judgment conditions supported by Wicked Block Conditions are as follows:

  • 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:

WordPress网站内容按需显示

You can choose the conditions for displaying or hiding blocks according to your needs.

For example, User is logged in, User Has Role. After selection, more detailed judgment settings will appear, as shown below:

WordPress网站内容按需显示

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 Link

Monetize Using This Plugin

Naiba will share a monetization model for this plugin: sharing resources useful to specific users on the site, requiring users to recharge and upgrade to VIP (manually set their user group after recharge).

Of course, if you are willing to spend money, there are also similar paid plugins on the market to choose from.

Other Related Plugins and Articles

5/5 - (1 vote)
Previous The Difference Between Exporting from the WordPress Admin Dashboard and Database Plugin Backup Continue reading content around the same timeline. Next How to Set Up Nginx Hotlink Protection in Baota Panel and LNMP Environments View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: