Title: Block Permissions
Author: meceware
Published: <strong>Ebrill 9, 2019</strong>
Last modified: Hydref 25, 2021

---

Search plugins

![](https://ps.w.org/block-permissions/assets/banner-772x250.png?rev=2066032)

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

![](https://ps.w.org/block-permissions/assets/icon-256x256.png?rev=2066032)

# Block Permissions

 Gan [meceware](https://profiles.wordpress.org/meceware/)

[Llwytho i lawr](https://downloads.wordpress.org/plugin/block-permissions.1.0.8.zip)

 * [Details](https://cy.wordpress.org/plugins/block-permissions/#description)
 * [Reviews](https://cy.wordpress.org/plugins/block-permissions/#reviews)
 * [Development](https://cy.wordpress.org/plugins/block-permissions/#developers)

 [Cefnogaeth](https://wordpress.org/support/plugin/block-permissions/)

## Disgrifiad

[Full Documentation](https://www.meceware.com/docs/block-permissions-for-gutenberg/)

### How To Use

 * Activate ‘Block Permissions’ plugin.
 * Edit any page with Gutenberg editor.
 * If Block Permission is chosen for ‘Show’, the block content will be shown if 
   the settings are validated. Otherwise block content will be hidden.

#### Show

 * If ‘Everyone’ is selected as the permission, the block content will be shown 
   for everyone.
 * If ‘Members’ is selected as the permission, the block content will be shown for
   the logged in users.
 * If ‘Members with Selected User Roles’ is selected as the permission, the block
   content will be shown only for the members with specified user roles.
 * If ‘Selected Users’ is selected as the permission, the block content will be 
   shown only to the specified users.
 * If ‘Selected Devices’ is selected as the permission, the block content will be
   shown for the specified devices, such as Desktops, Phones and/or Tablets.
 * If ‘Date Range’ is selected as the permission, the block content will be shown
   between the specified dates.
 * If ‘Time Range’ is selected as the permission, the block content will be shown
   between the specified times.
 * If ‘Day Of Week’ is selected as the permission, the block content will be shown
   on the specified days.
 * If ‘PHP Function’ is selected as the permission, the block content will be shown
   according to the return value of the specified PHP function.

#### Hide

 * If ‘Everyone’ is selected as the permission, the block content will be hidden
   from everyone.
 * If ‘Members’ is selected as the permission, the block content will be hidden 
   from the logged in users.
 * If ‘Members with Selected User Roles’ is selected as the permission, the block
   content will be hidden from the members with specified user roles.
 * If ‘Selected Users’ is selected as the permission, the block content will be 
   hidden from the specified users.
 * If ‘Selected Devices’ is selected as the permission, the block content will be
   hidden from the specified devices, such as Desktops, Phones and/or Tablets.
 * If ‘Date Range’ is selected as the permission, the block content will be hidden
   between the specified dates.
 * If ‘Time Range’ is selected as the permission, the block content will be hidden
   between the specified times.
 * If ‘Day Of Week’ is selected as the permission, the block content will be hidden
   on the specified days.
 * If ‘PHP Function’ is selected as the permission, the block content will be hidden
   according to the return value of the specified PHP function.

## Cwestiynau Cyffredin

No FAQ yet.

## Adolygiadau

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

### 󠀁[Just what I needed to group blocks within a permission block](https://wordpress.org/support/topic/just-what-i-needed-to-group-blocks-within-a-permission-block/)󠁿

 [Larry Daniele](https://profiles.wordpress.org/larrydaniele/) Tachwedd 21, 2019

The Block Permissions block was just what I was looking for to restrict the visibility
of a block to certain roles. Easy to use and works well (esp. since you can nest
arbitrary blocks inside of a Block Permissions block). Thanks, Mehmet for a well-
crafted plugin.

 [ Read all 1 review ](https://wordpress.org/support/plugin/block-permissions/reviews/)

## Contributors & Developers

“Block Permissions” is open source software. The following people have contributed
to this plugin.

Cyfranwyr

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

“Block Permissions” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/block-permissions/contributors)
for their contributions.

[Translate “Block Permissions” into your language.](https://translate.wordpress.org/projects/wp-plugins/block-permissions)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-permissions/),
check out the [SVN repository](https://plugins.svn.wordpress.org/block-permissions/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/block-permissions/)
by [RSS](https://plugins.trac.wordpress.org/log/block-permissions/?limit=100&mode=stop_on_copy&format=rss).

## Cofnod Newid

#### 1.0.8

 * Bug fix wrt date range selection. (thanks to urlund (@codework))

#### 1.0.7

 * Package update and minor improvements.

#### 1.0.6

 * Package update and minor improvements.

#### 1.0.5

 * Package update and minor improvements.

#### 1.0.4

 * Package update and minor improvements.

#### 1.0.3

 * License change and other improvements.

#### 1.0.2

 * Libraries updated.
 * Code improvements.

#### 1.0.1

 * Libraries updated.

#### 1.0.0

 * Initial Release.

## Meta

 *  Version **1.0.8**
 *  Last updated **4 blynedd yn ôl**
 *  Active installations **400+**
 *  WordPress version ** 5.6.0 neu uwch **
 *  Tested up to **5.8.13**
 *  PHP version ** 5.6 neu uwch **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/block-permissions/) a [English (US)](https://wordpress.org/plugins/block-permissions/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/block-permissions)
 * Tags
 * [addon](https://cy.wordpress.org/plugins/tags/addon/)[blocks](https://cy.wordpress.org/plugins/tags/blocks/)
   [content restriction](https://cy.wordpress.org/plugins/tags/content-restriction/)
   [date](https://cy.wordpress.org/plugins/tags/date/)[gutenberg](https://cy.wordpress.org/plugins/tags/gutenberg/)
 *  [Advanced View](https://cy.wordpress.org/plugins/block-permissions/advanced/)

## Graddau

 5 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/block-permissions/reviews/)

## Cyfranwyr

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

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](https://wordpress.org/support/plugin/block-permissions/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.meceware.com/)