=== DojoMesh for WordPress ===
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.3.0
License: GPLv2 or later

Connect your WordPress site to DojoMesh: class schedule, free trial bookings, sign up with agreements, membership plans and online checkout, for one or several locations.

== Description ==

For DojoMesh academies. Distributed privately by DojoMesh.

* Class timetable, always current.
* "Book a free trial class" or "Sign up" in one form, with your DojoMesh agreements (waivers) embedded and signed electronically.
* Membership plans with a Join button that opens your secure DojoMesh checkout (card or e-transfer). Card details never touch this site.
* Events with registration; paid events use the secure DojoMesh event page.
* Contact form.
* One site, several locations: visitors pick their location once and every widget follows.

== External service ==

This plugin sends data to DojoMesh (https://www.dojomesh.com), the academy's membership system:
form submissions (name, email, phone, date of birth, address, emergency contact, medical notes, agreement answers, visitor IP address for spam screening) and requests for the schedule, plans and agreements.
Payments are taken on the academy's DojoMesh checkout page (Stripe or Square).

== Installation ==

1. Upload the zip under Plugins → Add New → Upload Plugin, and activate.
2. In DojoMesh, open Settings → API Integration and click "Generate New API Key".
3. In WordPress, open Settings → DojoMesh, add each location with its key, Save, and click Test connection.
4. Put the shortcodes on your pages (listed on the settings screen).

== Changelog ==

= 0.3.0 =
* Match your brand without CSS: button colour, button shape (square, rounded, pill) and heading font.
* Text follows the colour of the section it sits in, so forms read well on dark page sections (Astra, Elementor and others).
* "Minimal" styling mode: layout only, your theme styles the rest.
* Option to start the join form with "My child" selected, for kids programs.
* Once a location is chosen, each block shows a short "Location: … Change" line instead of a dropdown.
* Forms are centred at a readable width; location buttons follow the button shape.

= 0.2.0 =
* Events: upcoming events per location; free and pay-at-the-event registration on your site, online-paid events on the secure DojoMesh event page (returns to your site).
* Contact form (messages land in DojoMesh and email the academy).
* Blocks for every feature in the block editor.
* Sign-up emails to the academy (setting).
* Automatic updates from DojoMesh.

= 0.1.0 =
* First version: locations, schedule, join form (trial or sign up + agreements), plans → checkout, after-payment page, member login button.
