Microtango
Show Microtango courses, online registration and videos on your WordPress site with shortcodes.
Install in
Microtango connects your WordPress site to the Microtango cloud (DMS). After you enter your REST key once, you place shortcodes on pages. The plugin loads live course, reservation and video data from Microtango.
Requirements
- An active Microtango subscription
- Your 8-character REST key (from Microtango / DMS support or your Microtango admin contact)
- Web category, category or video group codes from your Microtango setup (optional filters)
What the plugin does
[mt_courses]– course list with optional online registration button[mt_reservation]– customer reservation / “my bookings” area[mt_video]– video list for customers
Admin UI language: English by default. German translations are included for de_DE / de.
Quick start (happy path)
Follow these steps for a working course list. Do not customize templates until this works.
1. Install and activate
Install Microtango from Plugins Add New, or upload the plugin folder, then activate it.
2. Enter the REST key
- Open Settings Microtango
- Paste the REST key into REST key (mandatory)
- Click Save Changes
Without a valid key, lists stay empty or show placeholder behaviour.
3. Create a page
- Pages Add New (e.g. “Courses”)
- In the block/classic editor, add a Shortcode block (or plain text in classic editor)
-
Insert exactly:
[mt_courses]
-
Publish the page
- Open the page as a visitor (logged out)
You should see the default course table from Microtango. Registration uses the built-in popup form (mtattendform defaults to popup).
4. Optional filters (still simple)
Show only one web category:
[mt_courses webcategory="YOUR_WEB_CATEGORY_CODE"]
Several web categories (comma-separated; spaces after commas are fine):
[mt_courses webcategory="WTP1, WTP2, WORKSHOP"]
Sort by weekday, then name:
[mt_courses orderby="StartWeekday, Name"]
Combine:
[mt_courses webcategory="WTP2" orderby="StartWeekday, Name"]
Replace example codes (WTP2, GK, …) with the codes from your Microtango configuration. Multiple codes in webcategory are separated by commas; spaces around commas are ignored by the API.
5. Only then customize layout
When the list works, change columns via:
- Settings Microtango Default course row template, or
- content between
[mt_courses]…[/mt_courses], or - extra templates 1–9 and
template="1"
See Course list templates below.
6. Test mode (recommended before go-live)
In Settings Microtango, enable Test mode. Output is then only visible to administrators and in preview. Disable test mode when the site goes live.
For agencies
Typical delivery model: you build the WordPress site; the dance school owns Microtango data.
What you need from the client
- REST key
- Which pages: courses, reservation, videos
- Web category / category / video group codes for each page (or “show all”)
- Wording for buttons and empty states (optional; defaults exist)
- Whether registration should open as popup (default) or on a separate page URL
Recommended setup order
- Install plugin, enter REST key, enable Test mode
- Create pages and place minimal shortcodes (
[mt_courses], optionally withwebcategory) - Verify data with a real REST key on staging
- Adjust default templates and UI texts in settings (once for the whole site)
- Add page-specific templates only where needed
- Turn off test mode at launch
Agency patterns
One course page (all courses)
[mt_courses]
One page per offer group
Page “Beginner”:
[mt_courses webcategory=”BEGINNER_CODE”]
Page “Workshops”:
[mt_courses webcategory=”WORKSHOP_CODE”]
Shared layout for the whole site
Set Default course row template under Settings Microtango. Leave shortcodes without body content so every page uses the same columns.
Different layouts without editing every page
- Save variants as Course row template 1 … 9 in settings
- On the page:
[mt_courses template="1"]or with filter:[mt_courses webcategory="WTP1" template="2"]
Inline layout only on one landing page
[mt_courses webcategory="WTP1"]Course|{{Subject}} ({{Name}})#Day / time|{{StartWeekdayText}} {{Timespan}}#Start|{{StartDateText}}#|{{AttendButton}}[/mt_courses]
Reservation area
Create page “My reservations” with:
[mt_reservation]
Videos
[mt_video]
or filtered:
[mt_video videogroup="GK"]
Handover checklist for the school
- Settings Microtango is filled (key, texts, templates)
- Each public page shortcode is documented (which code / template)
- Test mode off after go-live
- Who updates web categories in Microtango when offers change (usually the school, not the agency)
Page builders (Gutenberg Shortcode block, Elementor Shortcode widget, etc.): paste the shortcode as plain shortcode text. Do not wrap it in extra custom HTML that strips script output.
Shortcodes reference
[mt_courses] – course list
Purpose: Renders the live course overview and registration actions.
Minimal: [mt_courses]
Parameters
webcategory(optional) – filter by Microtango web category code; several codes allowed, separated by commas (e.g.WTP1, WTP2). Spaces after commas are ignored.category(optional) – filter by category codeorderby(optional) – sort fields, comma-separated, e.g.StartWeekday, Name. Spaces after commas are ignored.template(optional) –1–9, selects an additional template from settingstemplateid(optional) – advanced: HTML template id
Texts such as attend button labels fall back to Settings Microtango when omitted.
Examples
[mt_courses]
[mt_courses webcategory="WTP2"]
[mt_courses webcategory="WTP1, WTP2"]
[mt_courses webcategory="WTP2" orderby="StartWeekday, Name"]
[mt_courses template="1"]
[mt_reservation] – reservations
Purpose: Shows the online reservation / bookings UI for customers.
Minimal: [mt_reservation]
[mt_video] – videos
Purpose: Lists videos available to customers.
Minimal: [mt_video]
Parameters
videogroup(optional) – video group code from Microtangotemplateid(optional) – template id
Examples
[mt_video]
[mt_video videogroup="GK"]
Optional body content defines columns the same way as courses (see templates). Default video columns come from settings or the built-in default.
Course list templates
Templates define table columns. Format:
Column title|{{FieldName}}#Column title|{{FieldName}}#|{{AttendButton}}
|separates column title and field (title may be empty)#starts the next column{{FieldName}}is replaced with course data- Special fields:
Attend,AttendButton,ScheduleInfo
Default (if settings and shortcode body are empty)
|{{ScheduleInfo}}#Course|{{Subject}}#Start|{{StartDateText}}#From|{{Timespan}}#Lessons|{{RepeatCount}}#|{{AttendButton}}
Where to define a template
- Settings Default course row template (site-wide)
- Shortcode body:
[mt_courses]…[/mt_courses](this page only) - Settings Course row template 1–9 + shortcode
template="n"
Simple custom example
[mt_courses]Course|{{Subject}}#Day / time|{{StartWeekdayText}} {{Timespan}}#Start date|{{StartDateText}}#|{{AttendButton}}[/mt_courses]
Several lesson dates
[mt_courses]Course|{{Subject}} ({{Name}})#1st date|{{DatesText.[0]}}#2nd date|{{DatesText.[1]}}#3rd date|{{DatesText.[2]}}#|{{AttendButton}}[/mt_courses]<h3>Field reference with examples</h3>
Template placeholders use {{FieldName}}. Values come from the Microtango REST API (RESTCourseModel / RESTVideoModel, see https://api.microtango.de/swagger). Examples below are sample data only.
Course fields (`RESTCourseModel`)
Identity
Id: adea471d-d109-416f-9638-5362b490b37aSeason: 21-1Name: 3TK-06Subject: Paare Tanzkreis Fr
Start
StartDate: 2021-01-01T00:00:00StartDateText: 01.01.2021StartTime: 20:30:00StartTimeText: 20:30StartWeekday: 5 (1 = Monday … 7 = Sunday; useful inorderby)StartWeekdayText: FreitagStartMonthText: Januar
End
EndDate: 2021-12-24T00:00:00EndDateText: 24.12.2021EndTime: 21:30:00EndTimeText: 21:30EndWeekday: 5EndWeekdayText: FreitagEndMonthText: Dezember
Schedule text
Timespan: 20:30 – 21:30Length: 1 StundeTimeCondition: 1,25 Stunde or wöchentlich 1,25 StundeTimeConditionMinutes: 75 Minuten or wöchentlich 75 Minuten
Place / people
HallName: Großer SaalHallAddress: Testweg 1, 12345 MusterhausenTeacherName: Dr. Sch. NitzelAssistantName: Ein NameProgramName: Grundkurs 1
Classification
Category: GKWebCategory: Grundkurs1
Capacity / availability
MaxPeople: 24Availability: G, Y or RAvailabilityText: Plätze verfügbar, Wenig Plätze verfügbar, AusgebuchtRepeatCount: 12SkipDays: 7
Price
Price: 0PriceClub: 35PriceText: 35,00PriceTextFull: 35,00 € monatlich
Notes and free text
WebNotes: Sonstige InformationenFreeText1…FreeText9: custom texts from Microtango (account-specific)
Date arrays (use index x starting at 0)
DatesText.[x]: 04.05.2023Dates.[x]: 2023-05-04T18:00:00
Time slots (TimeAllocations RESTTimeAllocationModel items)
Nested access depends on the JS template engine. Typical item fields with examples:
HallName: Großer SaalHallAddress: Testweg 1, 12345 MusterhausenTeacherName: Dr. Sch. NitzelAssistantName: Ein NameStart: 2021-01-01T20:30:00StartDateText: 01.01.2021StartTimeText: 20:30StartWeekdayText: FreitagStartMonthText: JanuarEnd: 2021-01-01T21:30:00EndDateText: 01.01.2021EndTimeText: 21:30EndWeekdayText: FreitagEndMonthText: JanuarTimespan: 20:30 – 21:30Counter: 1IsStart: trueToBeDefined: false
Special course fields (plugin / JS helpers)
Not plain API columns; generated in the frontend helper:
Attend: registration linkAttendButton: registration button (includes booked state)ScheduleInfo: timetable popup control
Video fields (`RESTVideoModel`)
Id: b1c2d3e4-f5a6-7890-abcd-ef1234567890Name: Grundschritt WalzerDescription: Langsame Drehung mit AbschlussLength: 03:45MatchPattern: GK*GroupName: GKThumbnailUrl: https://example.cdn/video-thumb.jpgPublic: true
Helper-style fields commonly used in video templates:
VideoThumbnail: rendered thumbnail controlShowVideo: play / open control
Video row templates use the same Title|{{Field}}#… idea. Default example:
|{{VideoThumbnail}}#Name|{{Name}}#Description|{{Description}}#Length|{{Length}}#|{{ShowVideo}}<h3>Settings overview</h3>
Settings Microtango
- REST key (mandatory) – from Microtango / DMS
- Default course / video row templates
- Course row template 1–9
- Button and message texts (register, fully booked, please wait, …)
- Load CSS / Load templates – customer-specific assets from Microtango when provided for the account
- Test mode – output only for admins and preview
Written by Joobi from the project's own listing. See the source page
1.0.1
- Change: Load the Microtango client library from the Microtango CDN again (cdn.microtango.de; api.microtango.de for logged-in users and previews) instead of bundling it, so library updates reach all sites without a plugin release.
- Docs: Link to the detailed German step-by-step guide on Settings Microtango, in the plugin list and in both readmes.
- i18n: German translations for the new guide links.
- Multisite: Documented use in WordPress Multisite networks (settings per site).
- Tested up to WordPress 7.2.
1.0.0
- i18n: English as default language for plugin UI strings.
- i18n: Add German translation files (de_DE / de).
- i18n: Load text domain from /languages.
- Docs: Ship updated German documentation as readme_de.txt.
- Docs: Quick start, agency patterns, clearer shortcode guide.
- Breaking: Remove the mt_form shortcode.
- Hardening: Settings sanitize callback and safer option loading.
- Fix: Settings menu path documentation (Settings -> Microtango).
- Internal: Shared helpers, unique template IDs, video template shape, loadTemplate for video.
0.9.31
- Fix: Load bundled JavaScript in the head.
0.9.30
- Security: Hardening against stored XSS via shortcode attributes (CVE-2026-1821).
- Compatibility: Bundle the JavaScript library with the plugin (no external CDN script loading).
0.9.29
- Bugfix for bracket
0.9.28
- Bugfix for missing settings
0.9.27
- Bugfix for missing settings
0.9.26
- Optimization for preview of changes
0.9.25
- Add StartWeekday and EndWeekday as Number (1=Monday, 7=Sunday)
- Add orderby Parameter to mt_courses. E.g.[mt_courses orderby=”StartWeekday, Name”] to sort by Weekday and then by Name.
0.9.24
- Add missing Dates.[x] (x= 0 – RepeatCount) to documentation
- Add missing DatesText.[x] (x= 0 – RepeatCount) to documentation
0.9.23
- Fix missing templates 2-9
0.9.22
- Add “Disabled” to the settings. Will disable the plugin, but still show the plugin in preview.
- Add additional 9 course templates to settings. The templates can used with the template parameter for mt_courses shortcut. E.g [mt_courses template=1].
0.9.21
- Small fixes
0.9.20
- Add videoPublic parameter to video shortcode
0.9.19
- Fix missing RestKey for video
0.9.18
- Small fixes
0.9.17
- Small fixes
0.9.16
- WP Version 4.0.0 – 5.8.1
0.9.15
- Fallback to popup, if mtattendform is missing
0.9.14
- Reintroduce old attend link and add new attend button
0.9.13
- Remove old attend button
0.9.12
- Bugfix for multi inline templates
0.9.11
- Small bugfix
0.9.10
- Template for mt_video
0.9.9
- Add possible field to readme
0.9.8
- Translate setting defaults to german
0.9.7
- Translate setting defaults to german
0.9.6
- Add video function
0.9.5
- Fix for missing default value (load css, load template)
0.9.4
- Documentation update. Support for PartnerMandatory parameter
0.9.3
- Change cdn resource names
0.9.2
- Move resources to cdn
0.9.1
- Fix for Safari blocking 3rd party cookies
0.9.0
- Add online-reservation handling
0.8.3
- Small JS error handling
0.8.2
- Documentation update
0.8.1
- Missing course not found fix
0.8.0
- Shortcodes renaming
0.7.0
- Naming fixes for release
0.6.0
- First catalog upload
- Include js and css
- JS handling for wp
0.4.0
- Add settings page
- Setting for API rest Key
- Setting for default list row settings
0.3.0
- MT attend form handling
0.2.0
- Some readme text
0.1.0
- Initial release
Follow this listing's changes (Atom feed)