WP Manifestindependent plugin directory
manifest / events / trvlr-ai-wordpress-plugin

Traveloris Wordpress Manager self-updates

Wordpress plugin for integrating the Traveloris booking system.

by Paris Welch · github.com/tofubutcher/trvlr-ai-wordpress-plugin

0stars
0forks

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.zip

Ships 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

  1. Copy the trvlr folder into wp-content/plugins/.
  2. Activate Traveloris Wordpress Manager under Plugins.
  3. 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-id and classes such as trvlr-book-now and trvlr-check-availability (see public/src/scripts/trvlr-bookings.jspublic/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_attraction with 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 usual npm build to produce admin/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.