Display Content Based on Day & Time?
Permalink
Is there a way I can display a piece of content based on the day and hour of day?
It's for a radio station website. I want to be able to display which person is currently on-air. So Monday - Friday, 6am-9am would need to display the morning show. 9am-2pm would be the midday show, etc.
Is there a built in way to do this? Or an add-on that would work?
It's for a radio station website. I want to be able to display which person is currently on-air. So Monday - Friday, 6am-9am would need to display the morning show. 9am-2pm would be the midday show, etc.
Is there a built in way to do this? Or an add-on that would work?
If you know how to code, you could build a block that does this. You'd want a database table with "start time", "end time", and "person", then the edit block interface would need fields for each time span, then the display would get the current time and lookup the database record that corresponds to the current time.