Block Type: Weekly Opening Times

The "Weekly Opening Times" Block type will show you the opening times of a week. That can be this week, next week, the week after, or just your default weekly opening times (without special openings/holidays). When adding this block type to a page, you can leave the values as they are, hit "Add" and see if this is to your likings. If not, then we have a couple of settings for you to go through!

Basics tab

Time hyphen

This is a hyphen used in between the start and end time. If you're opened today from 9:00am to 5:00pm, the word "to" is the time hyphen. You could also use a dash character (-) for example, that will output 9:00am-5:00pm.

By default, there are no spaces used for this hyphen. So when you choose for a word or anything else that needs a space in front of the start time and after, do enter those spaces in this field too!

Time notation

The notation for your time, formatted using the PHP function "date". There are a lot of parameters to format a date, which can be view in the table on the original PHP.net website. By default, the field will have "H:ia" as value, which will output 09:00am. We can break this down into "H", "i" and "a" (the colon is a punctuation mark and should not be considered as parameter). Let's look these op on the PHP.net table (ALL are case sensitive!).

Format character
H

Description
24-hour format of an hour with leading zeros 

Example returned values
00 through 23

Format character
i

Description
Minutes with leading zeros

Example returned values
00 to 59

Format character
a

Description
Lowercase Ante meridiem and Post meridiem

Example returned values
am or pm                                     

These are all mentioned in the "Time" section of the table. So scroll down from Day, to Week, to Month, to year, to Time in order to get to this section. Just try out some of these values if the table on the PHP website is not explaining it well enough for you. When you want to be able to use a realy character like an "a", without turning this into "am" or "pm", just add a backslash in front of that character. Your input will look like this: H:i\a

Day notation

Day notation works exactly the same as "Time notation" (scroll up). Difference is you should be using characters from the "Day" section here, instead of the time section. This day notation is being used to display the day of the week. You can alternatively use the date (for example 2015-10-14) if you would want to. Your input will look like this then: Y-m-d. By default, the lowercase L will be used (l), which is a full textual representation of the day of the week (Sunday through Saturday).

Period hyphen

This is a hyphen used in between time periods. Normally you have a start time and end time, but you can have multiple of those periods on one day. If you're opened from 09:00 - 12:00 and 13:00 - 17:00, the word "and" is the period hypen. You could also use a comma character (, ) for example, that will output 09:00 - 12:00, 13:00 - 17:00.

By default, there are no spaces used for this hyphen. So when you choose for a word or anything else that needs a space in front of the start time and after, do enter those spaces in this field too! For the comma example, you only have to use a space after (if you please)."

Advanced tab

Group Same Openings

If from Monday till Thursday, your opening times are exactly the same, you can choose to group these values into a single row. For example, the opening times are 09:00-17:00. There will not be individual rows for each of those days, but instead it will read this:

Monday till Thursday, 09:00-17:00

This will read faster for your visitors of course, and it will save you some space on the page! If you don't like to group same openings, just select "No" and all your days will be displayed (default: "No").

Days hyphen

This is a hyphen used in between day periods, only being used when "Group Same Openings" value equals "Yes" and there are values to group. For example Monday till Thursday, the word "till" is the days hyphen. You could also use a dash character (-) for example, that will output Monday - Thursday.

By default, there are no spaces used for this hyphen. So when you choose for a word or anything else that needs a space in front of the day and after, do enter those spaces in this field too!

Start week at Sunday

According to the international standard ISO 8601, Monday is the first day of the week ending with Sunday as the seventh day of the week. Although this is the international standard, countries such as the United States still have their calendars refer to Sunday as the start of the seven-day week.

Therefore, your week will start on Monday by default. You want to start your week on Sunday? No problem, just chose "Yes" as value, and you're good to go!

Schema Item Type

You can add a schema.org item type to the opening times table. There are loads of types available, for example "AutoPartsStore" or "SelfStorage". You can visit schema.org for the complete list of available types. You don't need to enter a full URL or anything, a simple "AutoPartsStore" will do just fine. The code will set up the rest for you.

Schema Item Property

Along with the Schema Item Type, it would be useful to use the item property too for the search engines (Google, Bing etc.). If you set this value to "Yes", the code will be generated for you. No need to do anything else on your end at all. We decided to give you the option to enable/disable this, in case you don't want to inform search engines (or in case you're using the opening times for something else entirely).

Use current

If set to "No", holidays and special openings will not be used. Instead, only normal opening times will be displayed. You can not enter "Week Offset" either, because they will always be the same value.

Week Offset

Week Offset in numbers. If you want to show next week, enter the value "1" (1 week offset). If you want to show 3 weeks from now, enter "3". You can also use negative values here if need be. By default, no offset is used (0).

Use Page Attribute

Don't want to use the opening times entered in the backend, but want to use a page attribute (with the "Opening Times" attribute)? Then set this value to "Yes". Be aware that you can not enter multiple periods using this page attribute and special openings/holidays are not available either!

Page Attribute

Select the attribute you want to use (only if "Use Page Attribute" is set to "Yes"). See "Use Page Attribute" on when to use this.

Day labels tab

In this tab you will be able to overrule the day notation entirely. Perhaps you do not wish to display "Monday" as Monday, but as "Day 1". You simply enter Day 1 into the "Day 1 - Monday" field to overrule the day notation value. You can not use any PHP date formatting here though. So everything is used as plain text/HTML.