Title: Plugin breaks InnerBlocks template functionality
Last modified: August 21, 2024

---

# Plugin breaks InnerBlocks template functionality

 *  Resolved [wp1605982g2n](https://wordpress.org/support/users/wp1605982g2n/)
 * (@wp1605982g2n)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/plugin-breaks-innerblocks-template-functionality/)
 * I am using your plugin side by side with Lazy Blocks [https://www.lazyblocks.com/](https://www.lazyblocks.com/)
 * I did not have any issues before, but now when I use <InnerBlocks /> component
   and try to assign template to it, blocks are not added. Once I disable your plugin,
   all works as expected.
 * Could you please take a look?
 * You can use template according to [https://www.lazyblocks.com/docs/blocks-code/inner-blocks/](https://www.lazyblocks.com/docs/blocks-code/inner-blocks/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [kubiq](https://wordpress.org/support/users/kubiq/)
 * (@kubiq)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/plugin-breaks-innerblocks-template-functionality/#post-17966401)
 * Hello,
 * is it this plugin?
   [https://wordpress.org/plugins/lazy-blocks/](https://wordpress.org/plugins/lazy-blocks/)
   or do I need PRO version?Can you replicate the issue in some sandbox, or can 
   you give me step-by-step instructions how to replicate this on my own?
 *  Thread Starter [wp1605982g2n](https://wordpress.org/support/users/wp1605982g2n/)
 * (@wp1605982g2n)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/plugin-breaks-innerblocks-template-functionality/#post-17966408)
 * Yes, that’s the one.
 * No need for PRO version.
    1. Install Lazy Blocks
    2. Create a block and use PHP as Output method
    3. In php use template as provided in the Lazy Blocks docs:
 *     ```wp-block-code
       <InnerBlocks
         template="[
           [ 'core/heading', { content: 'Blocks locking example:', level: 4 } ],
           [ 'core/paragraph', {
             content: 'This paragraph you can\'t move and remove',
             className: 'custom-classname-here',
             lock: {
               remove: true,
               move: true,
             }
           } ],
           [ 'core/paragraph', { content: 'This one can be freely removed' } ],
         ]"
       />
       ```
   
 * 4. Use block in a post, try with and without Block Editor Bootstrap Blocks active
 * If above does not work, let me know to give you access to a staging site I’m 
   working on.
 * Thank you!
 *  Plugin Author [kubiq](https://wordpress.org/support/users/kubiq/)
 * (@kubiq)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/plugin-breaks-innerblocks-template-functionality/#post-17966431)
 * I did what you wrote and everything works for me:
 * ![](https://i0.wp.com/img.kubiq.sk/2024-08-21_12-09-56.gif?ssl=1)
 *  Thread Starter [wp1605982g2n](https://wordpress.org/support/users/wp1605982g2n/)
 * (@wp1605982g2n)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/plugin-breaks-innerblocks-template-functionality/#post-17966433)
 * Take my sincere apology, I made a mistake in the code… I forgot to wrap the template
   with additional [].
 * Sorry again and thank you for your good work!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin breaks InnerBlocks template functionality’ is closed to new replies.

 * ![](https://ps.w.org/block-editor-bootstrap-blocks/assets/icon-256x256.png?rev
   =2570584)
 * [Block Editor Bootstrap Blocks](https://wordpress.org/plugins/block-editor-bootstrap-blocks/)
 * [Support Threads](https://wordpress.org/support/plugin/block-editor-bootstrap-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/block-editor-bootstrap-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-editor-bootstrap-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-editor-bootstrap-blocks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [wp1605982g2n](https://wordpress.org/support/users/wp1605982g2n/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/plugin-breaks-innerblocks-template-functionality/#post-17966433)
 * Status: resolved