Methods to Lock a Block in WordPress Full Web site Modifying – InMotion Internet hosting Assist Heart


One of many block options which have been added as of model 6.0 is the power to lock a block in order that its place and/or its removing may be prevented.  This text will show learn how to discover and use the brand new block choice.  

This tutorial makes use of WordPress 6.0 RC2 and the Twenty Twenty-two theme.

Locking a Block

The principle motive you'll lock a block is to forestall it from being moved from a selected location or from having it deleted.  That is particularly useful in case you’re working with a number of content material creators or editors that may make modifications to a web page or publish.  

For instance, chances are you'll need to implement the position of a graphic at first of a publish.  Locking the block there'll preserve it from being moved and changed.  You'll be able to see the block locked within the listing view within the screenshot under.  The lock icon signifies that the block is locked.

Example of locked block

Steps to lock a block:

  1. Log in to the WordPress Administrator.  
  2. As a way to change the properties for a block, that you must be in an editor.  The visible editor may be accessed within the web site editor, or with the web page/publish editor.  Open the editor of your alternative.  This tutorial will present a publish being edited.

    Post editor opened

  3. Choose a block that you just need to lock or add it web page or publish that you just’re engaged on. Right here you possibly can see the Picture block being added.   Click on on the 3-dot menu to open the block choices menu.

    Click on the 3 vertical dots

  4. When the menu seems scroll down the listing then click on on Lock. You will note two lock choices that you could choose. 

    Lock options

  5. Click on on the choice you need to use, or click on on Lock all.  Then, click on on Apply.
  6. If you’re carried out along with your edits, be sure to both click on on Save Draft, Publish, or Replace.

Block locking is a part of the evolution of the complete web site enhancing system.  This characteristic permits you to create your individual patterns or block combos in templates with much less danger of them being altered.

Arnel Custodio Content material Author I

As a author for InMotion Internet hosting, Arnel has at all times aimed to share useful info and supply data that may assist clear up issues and assist in attaining objectives. He is additionally been energetic with WordPress local people teams and occasions since 2004.

Extra Articles by Arnel

Supply hyperlink


Leave a Reply