Business Hours
Display a structured weekly opening-hours list with a separate closed state and current-day styling. Use it on contact pages, venue pages, and location templates.
Setup and First Use
Before starting, enable the relevant element or feature family under Bricks → BricksUltimate → General Elements, save, and reopen the Bricks editor. Integrations also require their corresponding plugin to be active.
- Add (BU)Business Hours and create a row for each weekday you want to display.
- Set Weekday number correctly: Sunday is 0, Monday is 1, through Saturday as 6.
- For an open day, enter From and To text. For a closed day, enable Is closed and set Close text.
- Arrange the rows in the intended display order.
- Style Typography, Current day, Closed Text, cell borders, padding, and margins.
- Check the frontend on a known weekday and verify the server/PHP day calculation against the business location.
Controls and Settings
| Control | Purpose and usage |
|---|---|
| Weekday number | Determines the localized weekday label and current-day match. It is not simply a free-text day name. |
| From / To | Opening and closing values displayed for that row. Use a consistent readable time format. Dynamic values are rendered where supported. |
| Is closed / Close text | Replaces the opening interval with text such as Closed or By appointment. |
| Current day | Highlights the row matching the current PHP weekday. It is not a real-time open/closed indicator. |
| Cell styling | Use border, padding, margin, and typography controls to keep names and times aligned without clipping. |
Timezones, Holidays, and Split Hours
The implementation highlights today using PHP date("w"). Verify the runtime timezone; do not assume a visitor-local timezone. The element is a display list, not a booking or holiday scheduling engine. If the business closes for lunch, include an unambiguous text representation or a separate explanatory line and check the rendered output.
Multiple Locations
Place one hours instance per location and label each location outside the list. Use dynamic values only when the correct location record is in context. Do not let a shared template accidentally display the preview location hours for every branch.
Practical Example
Create seven rows for a local shop, use 09:00-18:00 for weekdays, a shorter Saturday interval, and Closed on Sunday. Use a subtle current-day emphasis without changing row dimensions.
Troubleshooting
- Wrong current day: check PHP timezone and weekday numbers.
- Closed row still shows unexpected content: check the saved Is closed setting and Close text.
- Empty list: add hour rows and ensure dynamic values exist for the current record.