Rendering contract
Canonical source
- Template part
template-parts/sections/section-locations-grid.php- Page types
- contact, about, location
- Dependencies
- cpt:location
- Fallback
- No fallback
- Introduced
b839b57- Last changed
b839b57
locations · grid
One card per published Location (name, address, phone, directions, page link; primary badged). Pick on Contact/About/Location pages for MULTI-location clients.
Approved visual evidence
This intentionally does not reuse an old catalog screenshot. Start catalog.local, sync it to the source commit, capture all seven skins at 390px and 1440px, then approve the revision in Studio.
./suds catalog capture --changedRendering contract
template-parts/sections/section-locations-grid.phpb839b57b839b57Operator guidance
Signal-gated (multi_location) AND self-gates below 2 published locations — a single-location site never renders it. Real Location posts only; per-branch hours render behind a native <details> disclosure when confirmed rows exist.
Optional inputs: suds_copy_locations_*.
3 control groups are declared in the Engine manifest.
Supported skins
Effects support
Hero depth: none, bubbles, glow, bubbles_glow
Ambient: none, glow
Accessibility policy
Decorative animation is disabled for reduced-motion visitors; location video also respects Save-Data. Visual approvals include a reduced-motion smoke.