Templates Creation

You can create templates for different post types. Templates are a set of predefined blocks. For example, if you need to always use one of your blocks in each post, you can create Template for this post type.

  • Navigate to WordPress Admin > Lazy Blocks > Templates
  • Select one of the available Post Types

Then you can select Template Lock:

  • None
  • Prevent all operations – all block operations such as deleting, adding, moving will not be available
  • Prevent inserting new blocks, but allows moving existing ones

Then you can select blocks. For example, we selected Alert + Shortcode blocks and locked template:

Template for Posts
New created Post

Add Content when template locked

If you need to add blocks on each page and don’t let users move and remove them, but you still need to work with post content, you can use default Lazy Blocks block named Free Content

Was this helpful to you?