Wordpress + Coda Starter Kit
Share
Explore
Opening Hour Examples

icon picker
Open Today Table

This example displays the opening hours for the day “today” using our “Row” Table setting again.
Although we have the ability to display rows using our row setting we can also filter the table to only show one row which will serve the same purpose.

Step 1 - Improve your table

To show only the row of “today”we will need to filter the table to only todays date.
thisRow.Day.Lower().Find(Lower(Today().WeekdayName())) != -1
Another view of our table for this page 2
8
Day
Opening Time
Closing Time
Message - c-iiFzvMTpNr
1
Wednesday
9am
12pm
Please note we will be closing early today.
No results from filter

Step 2 - Create your shortcode

This table we will add to our Shortcode Generator” using the following parameters.
Name: Anything you like. This is to keep you organised and will not affect the actual sync. It will however tell you
Description: Anything you like
Unique Shortcode Name (No special characters): Here we have called it “Opening Hours”
Type: We want to show the full table
as a “table Type”
Check your table is displaying.
image.png





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.