Hi there!
I have a Custom Post Content Template. I want to ONLY show certain information between school hours i.e. 8:00am and 4:00pm.
How can I create a [wpv-conditional if=""] statment to do this? Will it require a custom function or can I use the "time" built in funcion?
Many thanks
Hi there,
It is possible with custom coding and the conditional shortcode (not the block).
I suggest that you check the answer below to know how to do that:
https://toolset.com/forums/topic/is-there-a-way-to-show-html-based-on-condition-of-the-current-eastern-time/#post-326025
Please consider that this is a custom code request and we are unable to give the exact code for your user-case, and the answer above is an attempt to give you guidance on how to do it yourself.
Thank you.