Skip to content
MZAWeb edited this page Nov 22, 2012 · 1 revision

You have two available shortcodes. One is for showing today's business hours (It's not fixed, so it gets updated every day). It looks like this:

[businesshours closed="TEXT FOR WHEN ITS CLOSED"]TEMPLATE[/businesshours]

The template is whatever text you want to show, and you have two variables you can use: {{TodayOpen}} for today's open hours and {{TodayClose}} for closing hours.

For example:

[businesshours closed="Today is closed."]Today we work from {{TodayOpen}} to {{TodayClose}}[/businesshours]

The second shortcode allows you to show a table with the business hours for every day in the week.

[businesshoursweek]

It has a collapsible option that if set to true will hide the table by default and show a link to expand/collapse the table.

[businesshoursweek collapsible="true"]

Clone this wiki locally