This plugin embeds a Tixys station search widget into a WordPress page via a shortcode.
[tixysform]to embed a form.
[tixysform] shortcode accepts a number of parameters, all of which are optional:
* target (values:
same): Open the Tixys page in the same or a new window.
* datepicker (values:
false): Add a datepicker to allow selecting a journey date. If no datepicker is to be embedded, the current day will be used.
* affiliate (value: a user ID. default:
null): Pass an affiliate ID, as provided by the shop owner. This can be used for tracking where customers came from and what turnovers they generated.
* from (value: a station ID. default:
null): Pass a station ID, to have it preselected as starting point, and the select field hidden.
* to (value: a station ID. default:
null): Pass a station ID, to have it preselected as destination, and the select field hidden.