[Important] Adding Custom Block Regions

To enable our page builder to add pre-made blocks and layouts, some changes to your theme’s code are necessary.

You’ll need to apply these changes yourself. Here are the steps you should follow based on your specific theme.

Our Page Builder allows you to add custom blocks anywhere a region is present. For example, the Dashboard includes a content region where blocks can be placed. Same for custom pages which is provided by pagebuilder.

You can also add your own regions to any theme layout—like the homepage—to make it fully customizable.

Example: Adding a full-width-top and full-bottom Region 

We’ll demonstrate how to add a new region called full-width-top and full-bottom  to both the home page and the dashboard layout (used by dashboard and custom pages).Required Changes in 3 Files:

  1. Config.php – Add the new region name to the list of available regions.
  2. Relevant PHP File (e.g., frontpage.php) – Load the blocks for the new region.
  3. Relevant Mustache Template (e.g., drawer.mustache) – Display the new region in the layout.

Choose your theme:

Was this page helpful?