After posting a tutorial on changing the product page of the Narrative theme, I decided to publish another article.
This time it is about showing content based on the day of the week. This could be beneficial for physical stores that would like to show on a certain day that they're either open or closed.
Click here to read the tutorial.
If there are any questions, tips or comments you can always contact me.
Have a nice day.
It's a good start but your script assumes the visitor is on the same timezone as the shop. Also, by adding a new copy of jQuery you could in fact break other code dependencies already loaded for another jQuery instance.
I would also consider it quite excessive to include a copy of jQuery just for this - better to stick with plain JS to keep it light.