Title: Locky Blocky
Author: Koji Kuno
Published: <strong>3 juillet 2025</strong>
Last modified: 6 juillet 2025

---

Recherche d’extensions

![](https://ps.w.org/locky-blocky/assets/banner-772×250.jpg?rev=3322050)

![](https://ps.w.org/locky-blocky/assets/icon-256×256.jpg?rev=3322050)

# Locky Blocky

 Par [Koji Kuno](https://profiles.wordpress.org/olein/)

[Télécharger](https://downloads.wordpress.org/plugin/locky-blocky.1.0.4.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/locky-blocky/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/locky-blocky/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/locky-blocky/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/locky-blocky/#developers)

 [Support](https://wordpress.org/support/plugin/locky-blocky/)

## Description

A plugin that lets administrators easily toggle the block template lock (contentOnly)
from the WordPress block editor toolbar. Take flexible control over your editing
experience. (Available to administrators only. The menu is not displayed for users
with editor or lower capabilities.)

### How to use hook

**locky_blocky_required_capability** hook allows you to change the permissions to
display the lock menu provided by this plugin.

    ```
    add_filter( 'locky_blocky_required_capability', function( $default ) {
        return 'edit_others_posts'; // Editor privileges and above
    });
    ```

It can also be made available only to specific user IDs.

    ```
    add_filter( 'locky_blocky_required_capability', function( $default ) {
        if ( get_current_user_id() === 123 ) {
            return 'read'; // Available for User ID 123 only
        }
        return 'do_not_allow'; // Otherwise, not allowed.
    });
    ```

### Important Notice

This plugin provides a feature to toggle the `templateLock` (`contentOnly`) directly
from the block toolbar. If WordPress Core implements a similar feature in the future,
this plugin will be deprecated and no longer maintained.

Thank you for your understanding.

### Github Repository

https://github.com/Olein-jp/locky-blocky

## Installation

This plugin can be installed directly from your WordPress dashboard.

 1. Log in and navigate to **Plugins  Add New**.
 2. Type “Locky Blocky” into the search and press Enter.
 3. Locate the **Locky Blocky** plugin in the list of search results and click **Install
    Now**.
 4. Once installed, click the **Activate** link.

## Avis

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

### 󠀁[Good news and bad news.](https://wordpress.org/support/topic/good-news-and-bad-news/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) 3 juillet 2025 3 replies

Good news: This is a God send plugin – easy, nice, ingenious, amazing, I feel embarrassed
I did not think of this first. The bad news: This feature will/should be included
in the core thus making this plugin redundant.

 [ Lire l’avis ](https://wordpress.org/support/plugin/locky-blocky/reviews/)

## Contributeurs & développeurs

« Locky Blocky » est un logiciel libre. Les personnes suivantes ont contribué à 
cette extension.

Contributeurs

 *   [ Koji Kuno ](https://profiles.wordpress.org/olein/)

[Traduisez « Locky Blocky » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/locky-blocky)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/locky-blocky/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/locky-blocky/), ou s’inscrire au
[journal de développement](https://plugins.trac.wordpress.org/log/locky-blocky/)
par [RSS](https://plugins.trac.wordpress.org/log/locky-blocky/?limit=100&mode=stop_on_copy&format=rss).

## Méta

 *  Version **1.0.4**
 *  Last updated **il y a 11 mois**
 *  Active installations **Moins de 10**
 *  WordPress version ** 6.8 ou plus **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 ou plus **
 *  Language
 * [English (US)](https://wordpress.org/plugins/locky-blocky/)
 * Tag
 * [editor](https://fr-ca.wordpress.org/plugins/tags/editor/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/locky-blocky/advanced/)

## Notes

 5 out of 5 stars.

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

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

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

## Contributeurs

 *   [ Koji Kuno ](https://profiles.wordpress.org/olein/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/locky-blocky/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://www.amazon.jp/hz/wishlist/ls/WH93ZBVDA08I)