Create Home, News and Gallery blocks

From the settings tab create a new block called Home with the following elements:

  • A title (type text) with name “title”

  • An image gallery (type image) with name “image”

  • A description (type textarea) with name “description”

Then, repeat this for the News block with pretty much the same data.

Repeat this as well for the Gallery block with the same data but leaving out the description.

Take note of the names of the fields and create some content by entering each created block and clicking Add Section

Take note of the id of each block inside the settings of each block, let’s call them HOME_BLOCK_ID, NEWS_BLOCK_ID and GALLERY_BLOCK_ID

Last updated