Theme Framework How the LeaseLeads theme frontend works

Building Blocks

How to author each type in the taxonomy — Modules, Components, Layouts, Templates, Widgets.

Watercolour townscape of New Plymouth by John Gully

The taxonomy in practice: what each type is for, and how to add one.

  1. Modules — author-placeable content blocks, end to end.
  2. Components — the reusable pieces Modules are built from.
  3. Layouts — site chrome the shell emits.
  4. Templates — page archetypes that own the module region.
  5. Widgets — WordPress widgets.
  6. Writing a new HasX trait — teaching a host to discover a new component type.