Title: Restricted Blocks &#8211; Conditional Visibility Settings for the Block Editor
Author: DAEXT
Published: <strong>Setyembre 1, 2021</strong>
Last modified: Enero 5, 2025

---

Maghanap ng mga plugin

![](https://ps.w.org/restricted-blocks/assets/banner-772x250.png?rev=3216108)

![](https://ps.w.org/restricted-blocks/assets/icon.svg?rev=3216108)

# Restricted Blocks – Conditional Visibility Settings for the Block Editor

 Ni [DAEXT](https://profiles.wordpress.org/daext/)

[I-download](https://downloads.wordpress.org/plugin/restricted-blocks.1.13.zip)

 * [Mga Detalye](https://tl.wordpress.org/plugins/restricted-blocks/#description)
 * [Mga Review](https://tl.wordpress.org/plugins/restricted-blocks/#reviews)
 *  [Pag-install](https://tl.wordpress.org/plugins/restricted-blocks/#installation)
 * [Development](https://tl.wordpress.org/plugins/restricted-blocks/#developers)

 [Suporta](https://wordpress.org/support/plugin/restricted-blocks/)

## Deskripsyon

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](https://daext.com/restricted-blocks/)
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

 * Temporarily hide existing or new sections of an article until they are ready 
   to be published.

### Password

The restricted content is displayed only after a successful password submission.

#### Usage Examples

 * Display private content only to members of a club, community, or to your friends.
 * Display downloadable material only to students of a class.

### Device

This restriction allows you to display blocks based on the device of the user.

#### Usage Examples

 * Display complex layout elements only with desktop devices
 * Display different download links based on the device of the user

### Time Range

With this restriction, you can display content at a specified time interval.

#### Usage Examples

 * Sell tickets in predetermined time intervals
 * Create a flash sale

### Capability

This restriction uses the [capabilities of the user](https://wordpress.org/support/article/roles-and-capabilities/)
to determine whether to display or not a specific block.

#### Usage Examples

 * Allow access to premium material only to specific user roles.

### IP Address

This restriction allows you to display or hide blocks based on the IP address of
the visitor.

#### Usage Examples

 * Prevent spam on contact forms or comments area
 * Prevent hacking attempts

### Cookie

Use this restriction to display content based on the presence of specifics cookies.

#### Usage Examples

 * Hide or display interface elements based on the information available about the
   user
 * Display content only to logged user

### HTTP Headers

With this restriction, you can display or hide content based on the information 
available in the HTTP headers.

#### Usage Examples

 * Hide content to specific bot or search engines
 * Conditionally display content based on the device of the user

### 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](https://daext.com/doc/restricted-blocks-lite/) for
more information on the plugin installation and usage.

### Device detection

The device of the user is detected with the [Mobile Detect](https://github.com/serbanghita/Mobile-Detect)
PHP class.

### Credits

This plugin makes use of the following resources:

 * [Select2](https://github.com/select2/select2) licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php)
 * [Mobile Detect](https://github.com/serbanghita/Mobile-Detect) licensed under 
   the [MIT License](http://www.opensource.org/licenses/mit-license.php)

## Mga Screenshot

 * [[
 * Restrictions menu.
 * [[
 * Visibility conditions of a restriction.
 * [[
 * Tools menu.
 * [[
 * Maintenance menu.
 * [[
 * Options menu in the “Style” tab.
 * [[
 * Options menu in the “Advanced” tab.
 * [[
 * Restriction selector in the block settings.

## Pag-install

#### 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)

## Mga Review

![](https://secure.gravatar.com/avatar/a0965f39e7f9d4615b5ffc64c8485807574bf5e7d9f46839e054a562cb90bf0d?
s=60&d=retro&r=g)

### 󠀁[What a great plugin!](https://wordpress.org/support/topic/what-a-great-plugin-77/)󠁿

 [tecking](https://profiles.wordpress.org/tecking/) Abril 13, 2022

The feature I like best is the ability to set passwords for each block. I am very
thankful to the developers for the great job they have done in making this functionality
available to me!

 [ Basahin lahat ng 1 review ](https://wordpress.org/support/plugin/restricted-blocks/reviews/)

## Mga Contributor at Developer

Ang “Restricted Blocks – Conditional Visibility Settings for the Block Editor” ay
open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.

Mga Contributor

 *   [ DAEXT ](https://profiles.wordpress.org/daext/)

Ang “Restricted Blocks – Conditional Visibility Settings for the Block Editor” ay
naisalin na sa 2 (na) mga locale. Salamat sa [mga tagasalin](https://translate.wordpress.org/projects/wp-plugins/restricted-blocks/contributors)
para sa kanilang mga kontribusyon.

[Isalin ang “Restricted Blocks – Conditional Visibility Settings for the Block Editor” sa iyong wika.](https://translate.wordpress.org/projects/wp-plugins/restricted-blocks)

### Interesado sa development?

[Tingnan ang code](https://plugins.trac.wordpress.org/browser/restricted-blocks/),
i-check ang [SVN repository](https://plugins.svn.wordpress.org/restricted-blocks/),
o mag-subscribe sa [development log](https://plugins.trac.wordpress.org/log/restricted-blocks/)
sa pamamagitan ng [RSS](https://plugins.trac.wordpress.org/log/restricted-blocks/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.13

_December 11, 2024_

 * Major back-end UI update.
 * General refactoring.

#### 1.12

_April 8, 2024_

 * Fixed a bug (started with WordPress version 6.5) that prevented the creation 
   of the plugin database tables and the initialization of the plugin options during
   the plugin activation.

#### 1.11

_November 15, 2022_

 * Minor backend improvements.
 * Changelog added.

#### 1.10

_September 1, 2021_

 * Initial release.

## Komersyal na plugin

Libre ang plugin na ito ngunit nag-aalok ng karagdagang bayad na mga upgrade o suportang
komersyal.

## Meta

 *  Bersyon **1.13**
 *  Huling na-update **1 taon ang nakalipas**
 *  Mga aktibong installation **100+**
 *  Bersyon ng WordPress ** 5.0 o mas bago **
 *  Sinubukan hanggang **6.7.5**
 *  Bersyon ng PHP ** 5.6 o mas bago **
 *  Mga Wika
 * [English (US)](https://wordpress.org/plugins/restricted-blocks/), [Japanese](https://ja.wordpress.org/plugins/restricted-blocks/),
   at [Spanish (Spain)](https://es.wordpress.org/plugins/restricted-blocks/).
 *  [Isalin sa iyong wika](https://translate.wordpress.org/projects/wp-plugins/restricted-blocks)
 * Mga Tag
 * [conditional blocks](https://tl.wordpress.org/plugins/tags/conditional-blocks/)
   [conditional content](https://tl.wordpress.org/plugins/tags/conditional-content/)
   [dynamic content](https://tl.wordpress.org/plugins/tags/dynamic-content/)[hide content](https://tl.wordpress.org/plugins/tags/hide-content/)
   [visibility](https://tl.wordpress.org/plugins/tags/visibility/)
 *  [Advanced View](https://tl.wordpress.org/plugins/restricted-blocks/advanced/)

## Mga Rating

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/restricted-blocks/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/restricted-blocks/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/restricted-blocks/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/restricted-blocks/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/restricted-blocks/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/restricted-blocks/reviews/#new-post)

[Tingnan lahat ng review](https://wordpress.org/support/plugin/restricted-blocks/reviews/)

## Mga Contributor

 *   [ DAEXT ](https://profiles.wordpress.org/daext/)

## Suporta

May gusto kang sabihin? Kailangan ng tulong?

 [Tingnan ang support forum](https://wordpress.org/support/plugin/restricted-blocks/)

## Mag-donate

Gusto mo bang suportahan ang pagpapaunlad ng plugin na ito?

 [ Mag-donate sa plugin na ito ](https://daext.com)