The Business Hours block A piece of a page, such as a paragraph, a picture or a button. In WordPress you build a page by putting blocks one after another. shows your opening hours and says if you are open right now. It needs no other plugin An add-on you install in WordPress to give your site new features. Gillish Cairnstone and Gillish Core are plugins.. See it working on the Business Hours page.
Add your opening hours
Add the Business Hours block. A new block starts as a card on Linen, open Monday to Friday, 09:00 to 17:00, with the weekend closed.
In the sidebar, under Opening hours, pick Show times as: 12 hours (5:00 pm) or 24 hours (17:00). Then press the day buttons to mark the days you are open.
Press a day to open it. Under On this day, pick Open, Closed, Open all day or By appointment.
For an open day, set From and To. Press Add hours, such as after a lunch break if the day has a break.
Under Use these hours on, press the other days with the same hours, or Use these hours on every open day, so you type less.
Or type in the block itself. Click the hours of a row and type them, such as 10:00 – 18:00, 9 am – 5 pm, Closed, Open all day or By appointment. For a break, put a comma between two periods, such as 10:00 – 14:00, 16:00 – 22:00. Every day in the row takes them. Press Enter to keep them, or Escape to undo.
To give a row your own name, click its day name, such as Monday to Friday, and type, such as Weekdays. Clear it to get the name the block made back.
Under Special dates, press Add a special date for a holiday or a short day. See below.
Type a note under the hours in the block if you want one, such as Last orders at 16:30. You can also press Add a note under the hours in the sidebar.
The block in the editor looks as your visitors will see it, and you set the hours in the sidebar. The status line in the editor is only a sample. On the page, it follows the clock.
Hours past midnight
A period that ends at or before its start runs past midnight. Type 18:00 to 02:00 on Friday, and those hours belong to Friday. At 01:00 on Saturday, the status still says you are open until 02:00, even if Saturday is closed.
Special dates
A special date replaces the normal hours. Give it a name, such as Christmas Eve, a First date and a Last date. For one date, set the same date in both. Under On these dates, pick closed, open, open all day or by appointment. Switch on Every year if it comes back each year.
Special dates show under the hours, and the status follows them by itself. A date shows from 60 days before it. Change that under Show special dates this many days ahead. A date that has passed goes away.
The settings
The Business Hours panel in the Settings tab holds Opening hours and Special dates, see above, and then these groups. At the top of Opening hours, Show times as picks 12 hours (5:00 pm), 24 hours (17:00) or the site’s own clock, which it names, such as The site’s choice (24 hours). The site’s choice is where it starts.
Look:
- Days as: A line between the days, A dot for open and closed, A card with the status on top, Columns side by side, Centred, as in a footer or Short, one line each. A new block starts as a card. See all six on the Business Hours page.
- Colours: Linen, Terracotta, Forest or Midnight, the same sets as the Menu and Price List block, so your menu and your hours match. A new block starts on Linen. Choose From the theme, and the hours take your page’s colours. Colours you pick in the Styles tab go on top of either.
- The week: Always shown to start, or Folded behind the status. A visitor presses the status to open the week.
Time:
- Time zone: where the business is. It starts on the site’s time zone. Pick the place by name, and summer time needs no care.
- Week starts on: As in the site’s settings to start, Monday, Saturday or Sunday.
Show:
- Add a note under the hours: adds a line under the hours, such as Last orders at 16:30. You can also type it in the block.
- Show if you are open now: on to start.
- Make today stand out: on to start. Today’s row is bold.
- Put equal days together: on to start. It shows Monday to Friday as one row.
- Name the time zone: off to start. It adds a line such as All times are in Europe/Oslo. It helps when your visitors are in other countries.
- Say “Closes soon” this many minutes before: 30 to start. Set it to 0 to leave it out.
- Show special dates this many days ahead: 60 to start. Set it to 0 to show all that are ahead.
Status words: When open, When closed and Just before closing. Leave them empty to use Open, Closed and Closes soon.
Search engines: Tell search engines these hours is off to start. Switched on, it passes the same hours to search engines, and you pick Kind of business and Business name. The name starts as the site’s name. Leave the setting off if your SEO plugin already describes your business.
How the status works
The status says what is true now, such as Open until 17:00, Closes soon at 17:00 or Open all day. If you close more than a day from now, it names the day, such as Open until Friday. When you are closed, it says when you open next, such as Closed, opens tomorrow at 09:00. It looks up to two weeks ahead, past closed days and special dates.
It follows the time where the business is, not the visitor’s. A visitor in another country sees your hours. It stays right on a page kept in a cache Saved copies, such as copies of your pages, that make the site load faster. After a change, you may have to clear them before visitors see the new version., because a small script checks the status when the page opens and again at the next change. With no script, the visitor sees the status from when the page was made.
How it looks
Pick a look and a colour set under Look, see The settings. Spacing comes from the Styles tab. Colours you set there go on top of the theme The design of your whole site: its fonts, colours and where the menu and footer go. You pick it under Appearance, then Themes. or the colour set, for the whole block or for one part. To style each part, open the block in Cairnstone → Blocks. Pick Block, Status, Days, Times or Note beside Style: above the block, then set them in the Styles tab. Block styles the whole block, its background too. Note shows only when the block has a note. Give the block a background of your own, and the words keep the same room from its edge as on a colour set. Padding you set yourself still wins.
Good to know
- Hours typed in the block that it cannot read leave the row as it was. On a 12-hour clock, 9 – 5 means 9 am to 5 pm.
- In a narrow space, such as on a phone, a long day name wraps beside its hours. The hours move under the day only when even that does not fit. The columns and the centred look always put the hours under the day.
- The hours are a real table with a heading on each row. A time range shows with a dash, and a screen reader A program that reads the screen aloud, for people who cannot see it well. They move around the page with the keyboard and hear what is there. says the word to in its place. A day with a break is read as 8:00 am to 11:30 am and 1:00 pm to 5:00 pm.
- The status never rests on colour alone. The words say it. In the dots look, a small mark before it also changes shape, like the marks before the days: a filled dot when open, half filled when closing soon, a ring when closed. The other looks give the status in words only.
- The script reads the time on the visitor’s device and keeps nothing.
Next, read Show your menu or price list.