Gallery
Wordpress + Coda Starter Kit
Share
Explore
Opening Hour Examples

icon picker
Advanced Opening Hours

Level: Advanced

This example shows how with a little creativity we can show some advanced tables and controls.
We have created a control table so we can have a “version” history and also a “publish” type feature.
We have created a synced table and a control table so we can push changes to the sync table and manage our “sync” status
Locking Safety Feature to prevent accidental edits or deletions should we have a shared doc for example.
We unlock the table and push edit to change the times. Once we save it will show what is needing synced. We can bulk sync all our changes or push the row sync button for one at a time. If we make a mistake we can revert back.
Although this may be overkill for an opening hours table, it can be used for publishing anything on your Wordpress site with an added bit of safety or even an approval first before publishing..

Lock Edit Safety Box
Unlocked
Your changes have all been synced
:
In Sync
Opening Hours Control Table
1
Here we show the table where we save our changes too.
Synced: Opening Hour Advanced table-KN1RuJgdUG 3
3

Advanced Opening Hour Message

Here we have created a table to reference our “opening hours table” and figure out what times we are open and closed today.
We then create a “Cell” shortcode to display on our website.
(Please note our example may not reflect correct “open/close” times if you are in a different timezone than our doc.)
Displays if we are open or closed.
Displays times for todays hours.
Advanced Opening Hour Message
2

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.