@desclosf At the moment, it’s just one temporary closure at a time.
However, for this shorter length of time, why not just use the Special opening hours rather than temporary closure? The temporary closure was meant for an extended period of time (say, multiple weeks or months).
Ok, got the point π
Even one temporary closure would be fine, but I didn’t find the shortcode for it. I’ll look into it π
Thanks
@desclosf You can set this all within the main We’re Open! page in the Dashboard – just set the first closed day as 25th December and add new rows for all the subsequent closed days. With all the dates listed in your question, it will take no longer than a minute to set.
That’s for exceptions and holidays right ?
I meant I’m looking for a way to display temporary closure so that I can have a message on homepage that shows “we’ll be closed from xxx to xxx)
-
This reply was modified 1 year, 9 months ago by Frederic.
@desclosf Yes, this is the special/holiday opening hours.
At the moment, there is no shortcode or replacement code for “We’ll be closed from xxx to xxx”. Even with the temporary closure, this wouldn’t be possible as the plugin is now.
Ok, thanks for the update.
Is it on your roadmap ?
@desclosf At the moment, I wasn’t considering adding this… but it is something that I’ve personally come across with my own websites (those times where it’s closed for more than just a couple of days).
I could add some logic:
- Check ahead for all special opening hours
- If closed for more than X days (say 3)
- Condition is met (and can display βWeβll be closed from %closure_start_date% to %closure_end_date%β)
- Otherwise, the condition is not met and shows nothing.
This isn’t as simple as it sounds because I need to make all of these conditions easy-to-use for everyone and appear like a logical extension of the existing functionality. There’s also the scenario of it being closed already (within the closure days) or near the end, but just 1 more day left, etc.
I’m open to your suggestions here.
Hello Noah,
I was more considering more simple such as a shortcode that would display a bit of text and the next temporary closure (from – to), just to inform visitor in advance.
But what you’re considering is interesting as well π even if a bit more complicated…
Thanks for your hard work and great job π
@desclosf Thanks for your suggestion. I will figure something out as even a check for future extended closure would be a helpful addition to many websites.