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

---

Søg plugins

![](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

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

[Download](https://downloads.wordpress.org/plugin/locky-blocky.1.0.4.zip)

 * [Detaljer](https://da.wordpress.org/plugins/locky-blocky/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/locky-blocky/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/locky-blocky/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/locky-blocky/#developers)

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

## Beskrivelse

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.

## Anmeldelser

![](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. juli, 2025 3 svar

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.

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/locky-blocky/reviews/)

## Bidragsydere & udviklere

“Locky Blocky” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “Locky Blocky” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/locky-blocky)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/locky-blocky/), tjek
[SVN repository](https://plugins.svn.wordpress.org/locky-blocky/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/locky-blocky/) via [RSS](https://plugins.trac.wordpress.org/log/locky-blocky/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.4**
 *  Senest opdateret **11 måneder siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 6.8 eller højere **
 *  Testet op til **6.8.5**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/locky-blocky/)
 * Tag
 * [editor](https://da.wordpress.org/plugins/tags/editor/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/locky-blocky/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/locky-blocky/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.amazon.jp/hz/wishlist/ls/WH93ZBVDA08I)