Decoding the template attribute for Inner Blocks in WordPress
InnerBlocks is quite a nifty feature in WordPress. It allows you to set up a new block comprised of existing blocks in a pre-defined layout in the content of a post. They prove to be very useful when dealing with sites having monotonous content on a number of posts. It can be a real time saver. In order to set up a block containing InnerBlocks, refer to the official documentation. It will clear a lot of things for you. However, in this article, we will not be talking about setting up InnerBlocks. In this post, we'll focus on one particular attribute template
. The layout of a block is set up with the help of this attribute and frankly, it's not very well explained in the official docs. So, I thought of shedding some light on it.