Travelmanager demo
Departure search
Search departures using a date and the categories configured in Travelmanager.
WORDPRESS INTEGRATION
Add this to your website.
Provide a date and category search with departure results loaded through AJAX.
Add a Shortcode block to your WordPress page and paste the following code.
[travelmanager call="basket" lang="en"]
[travelmanager call="list" lang="en"]Keep the basket shortcode on the same page for journeys that open local trip details. It supplies the booking context and shows the current basket when populated.
Parameters for this example
| Parameter | Value / default | What it does |
|---|---|---|
call | list | Use this exact value to select the view shown in this example. |
station_id | No station filter | Optional single station ID passed to the backend search. |
Filter departures for a station
[travelmanager call="basket" lang="en"]
[travelmanager call="list" station_id="2" lang="en"]The URL query start in DD.MM.YYYY preselects the date; without it, the date is today. The URL query linientyp_id preselects a category. These URL queries are not equivalent shortcode attributes.
The numeric IDs in the examples are placeholders. Replace them with IDs from your own account. Attribute names and call values stay unchanged in every language.
Account, language and shared options
Install and activate Travelmanager. Save your backend hostname under Settings → Travelmanager and enable Automatic language or select a fixed language. Store the optional private WordPress token there if your account requires it. The examples use the saved account; you can override it with account.
| Parameter | Value / default | What it does |
|---|---|---|
account | Saved setting | Optional backend hostname, for example your-account.travelmanager.software, without https://. Overrides the default account. |
lang | en / de | Language code for this instance, for example en or de. Use Automatic or a fixed language in the plugin settings to enable the current language behavior. |
cache | false | Optional: false bypasses the plugin API-read cache for this call. It does not clear a WordPress page cache or CDN cache. Usually omit this parameter. |
vermittler_id | Empty | Optional numeric referral ID. Existing referral information from a URL or session can also affect the booking context. |
Use literal true and false for boolean attributes. Parameter names such as linie_id, linien_ids and linie_typ_id identify different filters and must not be translated or interchanged.
Try it yourself.
Adjust the date and category to find a suitable departure.
