Title: Create a wrapper block
Last modified: January 23, 2023

---

# Create a wrapper block

 *  Resolved [drazon](https://wordpress.org/support/users/drazon/)
 * (@drazon)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/create-a-wrapper-block/)
 * Hi is it possible to create a simple wrapper <a> block somehitng like
 *     ```wp-block-code
       <a href="https://someurl.com">
       anything can be in here
       </a>
       ```
   
 * which allows as child elements all native gutenberg blocks? If yes how is it 
   possible?
 * thank you in advance

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

 *  [sanirmaharjan](https://wordpress.org/support/users/sanirmaharjan/)
 * (@sanirmaharjan)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/create-a-wrapper-block/#post-16406232)
 * Firstly, you can create a control with a link and then you can add a inner block.
   Hope it helps!
 *  Thread Starter [drazon](https://wordpress.org/support/users/drazon/)
 * (@drazon)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/create-a-wrapper-block/#post-16406467)
 * I have created at the content controls tab 2 elements. One is a url and the other
   one is an inner blocks type. I use handlebars and my code is
 *     ```wp-block-code
       <a href="{{tt-anchor}}">
         {{tt-inner-block}}
       </a>
       ```
   
 * Ι use a single output for both the editor and the frontend. However I can see
   the inner blocks code as text at the frontend. what am I doing wrong?
 *  Plugin Author [nK](https://wordpress.org/support/users/nko/)
 * (@nko)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/create-a-wrapper-block/#post-16434235)
 * Hey [@drazon](https://wordpress.org/support/users/drazon/).
 * Just use the triple curly bracket `{{{`
 * [https://www.lazyblocks.com/docs/blocks-controls/inner-blocks/](https://www.lazyblocks.com/docs/blocks-controls/inner-blocks/)
 * Regards, nK.
 *  Thread Starter [drazon](https://wordpress.org/support/users/drazon/)
 * (@drazon)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/create-a-wrapper-block/#post-16434446)
 * Thank you that worked!

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

The topic ‘Create a wrapper block’ is closed to new replies.

 * ![](https://ps.w.org/lazy-blocks/assets/icon-256x256.png?rev=2584676)
 * [Custom Block Builder - Lazy Blocks](https://wordpress.org/plugins/lazy-blocks/)
 * [Support Threads](https://wordpress.org/support/plugin/lazy-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/lazy-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lazy-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lazy-blocks/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [drazon](https://wordpress.org/support/users/drazon/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/create-a-wrapper-block/#post-16434446)
 * Status: resolved