Dynamic theme zone that resolves a block_module at render time.
Block name: prc-platform/block-area
Category: theme
Source: plugins/prc-block-area-modules/src/block-area/
Purpose
Like a template part, but editors pick which Block Module fills the zone, optionally scoped by taxonomy. Server render runs a WP_Query and wraps output for the Interactivity API.
Attributes
| Attribute | Type | Notes |
|---|---|---|
ref | integer | Pin a specific module |
blockAreaSlug | string | block_area term slug |
taxonomyName | string | Scoping taxonomy |
taxonomyTermSlug | string | Scoping term |
inheritTermFromTemplate | boolean | Use current archive term |
blockAreaQueryComplete | boolean | Wizard completion flag |
wizardStep (local) | string | Default intro |
| Other wizard locals | — | New area name, create flags, review phase |
Supports: anchor, html: false, interactivity: true.
Variations
| Variation | Taxonomy |
|---|---|
| Topic Block Area | category |
| Regions Countries Block Area | regions-countries |
| Collections Block Area | collection |
| Newsletter List Block Area | prc_newsletter_list |
Editor behavior
- Incomplete config → multi-step wizard (
block-area-wizard/) - Complete →
InnerBlocksAsSyncedContentpreview of the resolved module - Inspector controls re-point area, taxonomy, or module
Frontend behavior
- Suppresses non-menu areas when
is_paged() - Applies
the_contentto resolved module HTML