Linux 软件免费装
Banner图

Restricted Blocks - Conditional Visibility Settings for the Block Editor

开发者 DAEXT
更新时间 2024年10月15日 19:57
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 6.6.2
版权: GPLv3

标签

dynamic content hide content visibility conditional blocks conditional content

下载

1.10 1.11 1.12

详情介绍:

Restricted Blocks is a WordPress plugin that allows you to restrict access to specific Gutenberg blocks based on a great variety of conditions. You can, for example, restrict content based on the user role, conditionally display content based on the user device, make parts of the post unavailable to search engines, and more. Pro Version For professional users, we distribute a Pro Version of this plugin which includes additional types of restrictions. Types of restrictions This section will provide you details on the types of restrictions and the related usage examples. Fixed This restriction, when activated, removes a block from the front end. Usage Examples Password The restricted content is displayed only after a successful password submission. Usage Examples Device This restriction allows you to display blocks based on the device of the user. Usage Examples Time Range With this restriction, you can display content at a specified time interval. Usage Examples Capability This restriction uses the capabilities of the user to determine whether to display or not a specific block. Usage Examples IP Address This restriction allows you to display or hide blocks based on the IP address of the visitor. Usage Examples Cookie Use this restriction to display content based on the presence of specifics cookies. Usage Examples HTTP Headers With this restriction, you can display or hide content based on the information available in the HTTP headers. Usage Examples Customizable Style You can customize the colors and the typography of the elements displayed in the front-end with the 18 style options available in the back-end. Technical Information Plugin manual Please see the plugin manual for more information on the plugin installation and usage. Device detection The device of the user is detected with the Mobile Detect PHP class. Credits This plugin makes use of the following resources:

安装:

Installation (Single Site) With this procedure you will be able to install the Restricted Blocks plugin on your WordPress website:
  1. Visit the Plugins -> Add New menu
  2. Click on the Upload Plugin button and select the zip file you just downloaded
  3. Click on Install Now
  4. Click on Activate Plugin
Installation (Multisite) This plugin supports both a Network Activation (the plugin will be activated on all the sites of your WordPress Network) and a Single Site Activation in a WordPress Network environment (your plugin will be activated on a single site of the network). With this procedure you will be able to perform a Network Activation:
  1. Visit the Plugins -> Add New menu
  2. Click on the Upload Plugin button and select the zip file you just downloaded
  3. Click on Install Now
  4. Click on Network Activate
With this procedure you will be able to perform a Single Site Activation in a WordPress Network environment:
  1. Visit the specific site of the WordPress Network where you want to install the plugin
  2. Visit the Plugins menu
  3. Click on the Activate button (just below the name of the plugin)

屏幕截图:

  • Options menu in the "Style" tab
  • Options menu in the "Advanced" tab
  • Selector in the Block inspector

更新日志:

1.12 April 8, 2024 1.11 November 15, 2022 1.10 September 1, 2021