@compking Thanks for sharing this with me.
I’ll check out the logic and fix it in the upcoming version (likely to be quite soon).
Two things, what’s is your timezone roughly what are your opening hours?
I’ll use this information to replicate the error and ensure the problem is resolved for you and anyone else using the conditional and replacement text.
My Time zone is GMT-6 (Mountain Time). I am set to “Edmonton” time zone
Operating Hours are:
Monday 12pm – 9pm
Tuesday 12pm – 9pm
Wednesday 12pm – 9pm
Thursday 12pm – 10pm
Friday 11am – 10pm
Saturday 12pm – 7pm
Sunday 11am – 9pm
Thank you!
@compking Thanks for this. I’ll find out what this issue is here and publish a new release once that is done.
@compking I found the issue and I’ve fixed it in the next version: 1.6. I’ll release this shortly.
When you’ve updated the plugin, please let me know if the days/times align properly? I have added something to make a correction, but I cannot test the upgrade process until I released it. Thanks!
I will do. Thanks I’ll keep an eye out for the new version..
I’m having a similar issues with the days being off. Do you know when you’ll be releasing the update?
@mattsop Thanks for the addition. I’ll release the update within 24 hours.
@eule1 @mattsop Fixed in version 1.6. 🙂
Please update and let me know how it goes for you. Please pay attention to the alignment of the days – it should ensure they are set from 0 to 6 – Sunday to Saturday.
-
This reply was modified 5 years, 11 months ago by
Noah Hearle. Reason: Added @mattsop
Thank you so much. Now it looks great.
Still one more question. How can I put a border around the table? Guess I need to do some CSS, sorry I am fairly a beginner. Anyhow, great plugin.
@eule1 I would recommend adding something to the Child Theme if you can – otherwise you can add something to the Additional tab under Custom Styles.
Here is a suggestion for tables in general:
table {
border: 2px solid #222222;
}
…or just for the opening hours:
table.opening-hours {
border: 2px solid #222222;
}
Play around with a bit to get the desired effect.
Awesome support. This works perfect. Table looks great now.
@compking I forgot to tag you earlier. Please download the latest version: 1.6 – the today/tomorrow issue is fixed.
Please let me know if there are any discrepancies with the week days after the update – it should continue to show the correct day names and corresponding hours without any further intervention.
And @eule1, if you like the plugin, please leave a review. Thanks! 🙂
I think the back end database is better, but now the Widget doesn’t agree to the config.
The Widget shows the following (off by one day)
Business Hours
Monday 12pm – 9pm
Tuesday 12pm – 9pm
Wednesday 12pm – 9pm
Thursday 12pm – 10pm [For example, this should be Friday’s Hours]
Friday 11am – 10pm [This is Saturday’s Hours]
Saturday 12pm – 7pm
Sunday 11am – 9pm
@compking Ah, I’ll release a fix for that within 24 hours – there was something I missed in the Widget version. Thanks for letting me know about this.
@compking I’ve corrected the days in the Widget – it was good to fix this quickly rather than leave it. Please update to version 1.7.