[time-restrict-repeat type=”daily” ontime=”08:00:00″ offtime=”18:00:00″ else=”We’re currently Closed”]
[time-restrict-repeat-2 type=”weekly” onday=”Monday” offday=”Friday” else=”We’re currently Closed”]
We’re currently Open
[/time-restrict-repeat-2]
[time-restrict-repeat-3 type=”daily” onday=”Saturday” ontime=”08:00:00″ offday=”Saturday” offtime=”16:00:00″ else=”We’re currently Closed”]
We’re currently Open
[/time-restrict-repeat-3]
[time-restrict-repeat-4 type=”weekly” onday=”Sunday” offday=”Sunday”]
We’re closed on Sundays
[/time-restrict-repeat-4]
[/time-restrict-repeat]
Hi there,
The easier way to do this is to do a new shortcode every time the store opens or closes. Using the else attribute will cause it to appear every time a shortcode hides the content, so it will appear multiple times. This should so what you’re trying to achieve:
`[time-restrict-repeat type=”weekly” onday=”Monday” offday=”Friday”]
[time-restrict-repeat-2 type=”daily” ontime=”08:00:00 offtime=”18:00:00″]
We are open. This will turn on every weekday from 8-6.
[/time-restrict-repeat-2]
[/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Monday” offday=”Saturday”]
[time-restrict-repeat-2 type=”daily” ontime=”18:00:00 offtime=”08:00:00″]
We are closed. This will appear the evening of every weekday at 6, until 8 the following morning (incl. Friday night to Sat morning)
[/time-restrict-repeat-2]
[/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Saturday” offday=”Saturday” ontime=”08:00:00 offtime=”16:00:00″]
We are open. This will appear on Saturday from 8-4.
[/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Saturday” offday=”Monday” ontime=”16:00:00 offtime=”08:00:00″]
We are closed. This will appear from 4 on Saturday until 8AM on Monday.
[/time-restrict-repeat]