🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Display or hide website content based on conditions with Wicked Block Conditions

A couple of days ago, Naiba shared aMethod to require site-wide registration and login to view content. However, more websites might need users to log in, or require users to reach a certain level/status to view specific content. So, here's the method. Today, Naiba shares thisWordPress 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
  • Published category or tag
  • Published status
  • Custom PHP function result
Moreover, multiple conditions can be mixed and combined for use.

Plugin usage method

After installing Wicked Block Conditions, when you add a content block in the Gutenberg editor, you can see a 'Display Conditions' option on the right side of the screen. As shown in the figure below:WordPress网站内容按需显示You can choose to display or hide the block based on your needs. For example, User is logged in, User Has Role. After selection, more detailed judgment settings will appear, as shown in the figure below:WordPress网站内容按需显示You can choose whether the user belongs to an administrator, editor, or other conditions. After saving, it will work.

Plugin Download

You can search for Wicked Block Conditions in the WordPress Plugin Directory to download and install it, or download it via the link below and upload it for installation.Download Link

Monetize with this plugin

Naiba shares a monetization model for this plugin: the website shares resources useful to specific users, then requires 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 similar paid plugins available on the market.

Other related plugins and articles

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

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.

×
二维码

Scan to Follow