Component library

hours · card

Hours

Per-day hours card for a SINGLE-LOCATION shop. Pick on contact/about/location when per-day hours exist.

Engine 2.1.13stablehours

Approved visual evidence

No approved hosted capture is attached yet.

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 --changed

Rendering contract

Canonical source

Template part
template-parts/sections/section-hours.php
Page types
contact, about, location
Dependencies
None
Fallback
No fallback
Introduced
b839b57
Last changed
b839b57

Operator guidance

Claims and controls

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.

Open local WordPress workbenchOpen canonical source

Supported skins

ExpressWarmValueCommercialPremiumEcoBasecamp

Effects support

Motion and ambient layers

Hero depth: none, bubbles, glow, bubbles_glow

Ambient: none, glow

Accessibility policy

Reduced motion is authoritative

Decorative animation is disabled for reduced-motion visitors; location video also respects Save-Data. Visual approvals include a reduced-motion smoke.