Building Dynamic Gutenberg Blocks inside Awesome XP

Note: This requires Awesome XP or Awesome Enterprise version 3.2.2

With Awesome XP / Awesome Enterprise version 3.2.2, you can seamlessly create fully native Gutenberg blocks without relying on Advanced Custom Fields (ACF) or heavy compilation workflows. This allows you to centralize your layouts, controls, and front-end code entirely inside WordPress runtime.

To create a block, simply navigate to Add Awesome Gutenberg Blocks in your dashboard. Each block is powered by a single post containing three structured templates: Register, Render, and Controls.

1. The Register Template

This template registers the block with WordPress at runtime and maps it to the respective render and control services.

⚠️ Important: Ensure the block configuration name maps correctly to your service names.

2. The Render Template

This template handles the server-side code generating the block’s front-end HTML. Variable inputs are cleanly safely mapped from the block’s data object using [template.get].

3. The Controls Template

Instead of rigid definitions, the settings sidebar is driven dynamically by an array structure. This maps your settings directly into specific data keys (content.* or style.*).

And here is the entire code together for the module.

 

Updated on Jun 02, 2026