Block Type: Status Opening Times

The "Status Opening Times" Block type will show you the status of today. When adding this 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 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 table (ALL are case sensitive!).

Format character

24-hour format of an hour with leading zeros 

Example returned values
00 through 23

Format character

Minutes with leading zeros

Example returned values
00 to 59

Format character

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

Date notation

Date 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 for holidays, to format your start date and end date of the holiday.

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)."

Date hyphen

This is a hyphen used in between dates (used for holidays only). If you're on holidays from 14-10 untill 28-10, the word "untill" is the date hypen.

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!

Element HTML Tag

By default, the output of this block will be rendered as plain text. When you want this text to be wrapped in an HTML tag, just select one from the dropdown. The most obvious would be to choose a "div" here. But you're free to enter the one that you prefer. If you've chosen one of these, you could also assign some class names.

Element Class Name(s)

Element class names will be applied to the element HTML tag. So be sure to chose that one first! Those class names can be theme specific, Bootstrap specific or just something that you come up with adding this to your page, and you can use this class to add to your .css file! Try and enter "label label-success" if you're using the default Elemental theme. This will give you a sort of label, with a green (success) color. Be aware that these will always be added, if you're opened/closed/on holidays etc. If you wish to add classes specifically for one of those statuses, click the tab that reads this status.

Open/Closed/Holidays/Special Openings tabs

Each and every one of those has 4 fields, which do exactly the same for each "type". It depends though on what the status of today is, which ones will be used. I will explain the functions of each of the fields below.


The message that will be displayed/rendered. The "Open" tab has entered by default this:

Opened today from %1$s%2$s

This will convert into (for example):

Opened today from 09:00am - 17:00pm

The %1$s will display the first parameter, passed along to the "Open" status. That will be all the entered time periods. In this case, just one period: from 09:00am till 17:00pm. You see another parameter, with a 2 in it. That's the second passed parameter. That will always be the note, attached to this specific day of the week (or Special Opening). If the note field has left blank, nothing will be shown. In case you actually did enter a note, it will be displayed. Read below for adding a prefix/suffix to this note.

Note Prefix/Note Suffix

When a note has been entered for the day/Special Opening, you can add a prefix/suffix to the note. Let's say you want the note be enclosed by double quotes ("), you enter one in both fields. Prefix will add everything in front, suffix everything after the note. No spaces will be used here, so if you want to use spaces, enter these yourselves!

Extra Element Class Name(s)

In the "Basics" tab, you've chosen (or chosen not to) enter class names. These are default added. Maybe you wish to add extra class names when you are opened. As the name reads extra, those will be added alongside your default entered class names. If you have left this field blank, it's not extra of course. To name a good example, Bootstrap has a class named "label". This is a "base" class. By default, this will have no real serious styling. To have a green label though, you will have to enter "label label-success". So you could enter "label" into the "Element Class Name(s)" field and "label-success" into the "Extra Element Class Name(s)" field. You can also choose to enter them both in the "Extra" field and leave the default blank, that will have the same result.