Simplify Support Hours Widget/Visibility
jimtrue opened this issue · 3 comments
Write a quick function that determine the Day of Week and displays the current Support Hours with a link to Support Policy and Hours.
We could use same function to tailor the display/details on the Chat Window and Landing Page
I think this could be too clever.
If the current day's support hours have passed, then you might consider showing tomorrow's instead, but that assumes that the visitors is available tomorrow.
By hiding the other info, you're making it less useful because you don't know the full context of the visitor.
Instead of hiding the rest, consider making it bold, or changing the colour (accessibility considerations) or underlining (usability considerations):
For a bit of extra markup / JSON-LD, having the full list means that http://schema.org/OpeningHoursSpecification could be added, which may be picked up and used by search engines on SERP snippets.
@GaryJones Thanks for this, completely missed it last year! ;) I went with just always showing the hours. We flag Opening & Closing in Slack, so it's not necessary to go crazy with this.
I'm actually closing this one, because we have it published in multiple places.