Traveloris Wordpress Manager self-updates
Wordpress plugin for integrating the Traveloris booking system.
by Paris Welch · github.com/tofubutcher/trvlr-ai-wordpress-plugin
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tofubutcher/trvlr-ai-wordpress-plugin/archive/refs/heads/main.zipShips its own WordPress updater (Plugin Update Checker), so new versions show up under Dashboard → Updates.
WordPress integration for Traveloris: sync tours and experiences into a custom post type, manage them from the block/classic editor and a React settings hub, and embed the Traveloris booking flow (modals, calendars, payment confirmation) on the front end.
Documentation
Maintainer docs live in docs/—architecture by area (core/, admin/, public/) plus docs/reference/ for technical specs (REST payloads, theme config detail, migration notes). Start at docs/README.md.
Requirements
- WordPress 5.0+
- PHP 7.0+ (see plugin header /
readme.txt) - Built admin UI requires compiled assets under
admin/build/(see Development)
Installation
- Copy the
trvlrfolder intowp-content/plugins/. - Activate Traveloris Wordpress Manager under Plugins.
- Open Traveloris in the admin menu and complete Getting Started / Connection (Organization ID and API credentials as required by your Traveloris account).
Activation registers the trvlr_attraction post type, creates sync log storage, and can create a Payment Confirmation page used by the booking return flow.
Configuration (high level)
| Area | Purpose |
|---|---|
| Connection | Organisation ID and API key so sync and iframes target the correct Traveloris tenant. |
| Theme | Colors, spacing, and card variables (surfaced as CSS custom properties on the front end); live card preview. |
| Sync | Manual full sync, schedule, per-attraction sync from the editor, Custom Edit tooling. |
| Logs | Sync and system log entries with export/clear options. |
| Tools | Feature toggles (CPT, sync, booking, SEO schema) and theme settings export/import. |
Front end
- Single attraction — Default template under
public/partials/; theme CSS variables from Theme settings. - Booking script — Listens for elements with
attraction-idand classes such astrvlr-book-nowandtrvlr-check-availability(seepublic/src/scripts/trvlr-bookings.js→public/dist/js/). - Shortcodes — Many attraction fields are available as shortcodes (see
includes/trvlr-shortcodes.php), including booking calendar and payment confirmation.
Features
- Sync attractions from Traveloris with batched runs and conflict detection against local edits
- Custom post type
trvlr_attractionwith meta boxes, repeaters (pricing, locations), and media gallery - REST API (
trvlr/v1) for the admin React app: settings, sync, logs, setup - Scheduled sync, structured logging, optional email notifications
- Splide-based galleries, payment confirmation iframe page, booking modal/checkout integration
Development
- Admin UI is built from
admin/src/(WordPress scripts, React/WordPress Element). Run your usualnpmbuild to produceadmin/build/. - Public sources:
public/src/styles/+public/src/scripts/→public/dist/css/+public/dist/js/.
License
MIT (see readme.txt).
Version
See trvlr.php / readme.txt for the current stable version.