Server Side Show/Hide “monday this week”
-
I have a website that I wish to show an order form for each day of the week (different form for each day). I am showing “showing” and “hiding” the form between operating hours (with a “sorry we’re closed” before/after operation hours for the restaurant).
Here is one instance of the code I currently have:
<!–– —————————————
FRIDAY
————————————— –><!–– closed: after midnight–>
[timed-content-server show=”Friday 00:00:00 America/Detroit” hide=”Friday 09:59:59 America/Detroit”]<center><h2>Sorry, we’re closed right now</h2></center>[/timed-content-server]<!–– open: 10:00am to 10:15pm–>
[timed-content-server show=”Friday 10:00:00 America/Detroit” hide=”Friday 22:15:59 America/Detroit”][gravityform id=”6″ title=”false” description=”false” ajax=”false”][/timed-content-server]<!–– closed: 10:16pm to 11:59pm–>
[timed-content-server show=”Friday 22:16:00 America/Detroit” hide=”Friday 23:59:59 America/Detroit”]<center><h2>Sorry, we’re closed right now</h2></center>[/timed-content-server]This is the DEBUG ERROR:
https://prntscr.com/myjp2gHow can I show/hide on a weekday basis?
“monday this week” didn’t work either.Any help is muchly appreciated.
I have hit a dead end with this one unfortunately.
- The topic ‘Server Side Show/Hide “monday this week”’ is closed to new replies.