SOTG Bookings — WordPress Plugin

SOTG Bookings | Version 0.1.4 | By Doorways Into Your Business

About This Plugin

The SOTG Bookings plugin provides a mobile-friendly admin view of Seniors on the Go booking data pulled directly from Coda.io. It is designed for administrative staff who need a quick, at-a-glance overview of upcoming bookings, driver assignments, and booking statuses — without requiring a WordPress login.

Access is controlled via a secure key embedded in a shareable URL, making it easy to give frontline staff visibility into the booking schedule without creating WordPress accounts. The plugin depends on the Driver Bookings plugin and reads Coda credentials directly from its settings — no duplicate configuration needed.


Features


What’s New in Version 0.1.4

Bug Fixes


Full Changelog

0.1.4 — Fixed CODA deep link format; corrected to browser deep link so “View in CODA” buttons open directly to the correct row in the SotG Bookings table view.

0.1.3 — Fixed IIFE function hoisting bug; sotgLoadBookings() was called before window.sotgLoadBookings was defined, causing a silent ReferenceError that killed all JS functionality. Moved init block to end of IIFE after all function definitions.

0.1.2 — Fixed REST route to use URL path parameter for key (/bookings/{key}), matching the driver-bookings pattern — resolves broken API calls on sites without pretty permalinks. Removed args declaration from route registration that was causing WordPress to reject requests.

0.1.1 — Fixed REST API endpoint to read query parameters via $request->get_param() instead of raw $_GET, resolving the “Loading bookings…” hang. Registered REST API args (key, days) with proper types, defaults, and sanitization.

0.1.0 — Initial release. Core plugin with dependency check on driver-bookings; REST API endpoint to fetch all bookings from CODA; [sotg_bookings] shortcode with key-based access; frontend bookings page with days-ahead filter, two tabs (Accepted / For Review), booking cards, cancelled booking styling, detail view, and “View in CODA” buttons; WordPress admin settings page with access key display, URL copy, and key regeneration.


About Doorways Into Your Business

Doorways Into Your Business (DIYB) is a digital agency based in Caledonia, Ontario, Canada. We help small businesses and non-profit organizations build and grow their digital presence through WordPress development, custom plugin solutions, API integrations, and business automation.

We specialize in practical, purpose-built tools — like this one — that solve real operational problems for the organizations we work with.


Support

For support or feature requests related to this plugin, please contact Doorways Into Your Business.


Questions, or ready to open a few smart digital doorways? Get in touch with Doorways Into Your Business →