Rendering contract
Canonical source
- Template part
template-parts/sections/section-hours.php- Page types
- contact, about, location
- Dependencies
- None
- Fallback
- No fallback
- Introduced
Historical version unknown- Last changed
Historical version unknown
hours · card
Per-day hours card for a SINGLE-LOCATION shop. Pick on contact/about/location when per-day hours exist.
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-hours.phpHistorical version unknownHistorical version unknownOperator guidance
Renders the primary location per-day hours; falls back to the global hours summary, else hides. Self-gates OFF on MULTI-LOCATION builds (>1 published location) — there, hours are per-branch (locations_grid/locations_map <details> + Location pages), so a lone generic hours block would misrepresent branches with different hours. hours_summary_strip (a global operator one-liner) is unaffected.
No optional inputs are declared.
3 control groups are declared in the Engine manifest.
Supported skins