Files
eventLabs/README.md
2026-11-11 21:30:20 -05:00

3.6 KiB

eventLabs

A WordPress events platform by hostLabs

Publish an events calendar, design single-event pages in Elementor, and sync club events from burnWorks. eventLabs manages schedules, venues, organizers, and series in WordPress and provides its own versioned REST API.

Month calendar with a multi-day event, category colors, and an event preview

Get started

  1. Install this directory in wp-content/plugins/burn-events/ and activate eventLabs under Plugins. Requires WordPress 6.9+ and PHP 8.1+. The Elementor builder and widgets use Elementor Free.
  2. Open Events → Add Event. Set the schedule, link a venue, and publish. Use Events → Settings → View calendar to open the public calendar.
  3. Use Events → Single Event Templates → Create starter template to design a single-event layout. Publish it, then assign it to an event or choose Use as default.
  4. Add Event Calendar or Event List from the eventLabs widget category in Elementor. You can also embed a calendar with [burn_events view="month"].

Calendar and publishing

  • Calendar views include List, Month, Week, Day, Photo, Map, and Summary. In Month and Week, multi-day bars span their dates and show event previews on hover and keyboard focus. Set a custom color under Events → Event Categories.
  • Schedules support all-day and timed events, daily through yearly recurrence, additional dates, and exclusions. Link multiple venues and organizers and group related events into series.
  • Maps load on single events with mapped venues when enabled. The calendar Map view groups events into pins by location and filters them by date range. Save a Geoapify key and enable OpenStreetMap maps under Events → Settings.
  • Community submissions use [burn_events_submit] and [burn_events_mine]. Submitted events enter Pending Review.
  • Imports and migration are under Events → Import and Export. Upload CSV or iCalendar files, or review a detected The Events Calendar migration. The migration copies drafts with their saved occurrence dates and linked records.

A single-event page with its photo, venue, map, and calendar links

API quick start

The authenticated API uses eventlabs/v1. Create a WordPress user with the eventLabs Integration role and generate an Application Password in that user's profile. Keep the password on the server.

curl --user "$EVENTLABS_USER:$EVENTLABS_APP_PASSWORD" \
  "$WORDPRESS_URL/wp-json/eventlabs/v1/schema"

Use GET /events to list records, POST /events to create one, and PATCH /events/{id} to update it. Use PUT /events/external/{source}/{external_id} to keep an external record tied to the same WordPress ID. The schema endpoint describes the current write fields and configured custom fields. For sites with plain permalinks, use /?rest_route=/eventlabs/v1/schema.

burnWorks clubs

Sync a named club or sub-club with PUT /burnworks/workspaces/{workspace_id}/clubs/{club_id}. Send events to PUT /burnworks/workspaces/{workspace_id}/events/{event_id} with the burnWorks club_id. An event stores its workspace and club identity in a hidden field. In Elementor, use Club or sub-club on Event Calendar and Event List to show a whole workspace or one club.

See the API reference for routes, payloads, and errors, and the burnWorks handoff for field mapping and publishing rules. The feature and settings audit records the current coverage against the reference packages.