Contents
On this page
Shortcodes - Plugixa Car Parking
The plugin has three shortcodes, and a fourth with Pro. Each one makes one kind of public page.
| Shortcode | What it shows |
|---|---|
[plugixa_car_parking] |
The booking wizard |
[plugixa_car_parking_summary] |
One booking’s summary, opened from a link |
[plugixa_car_parking_account] |
The customer account |
[plugixa_car_parking_map] PRO |
A map of your locations |
The booking form
[plugixa_car_parking]
Without attributes it shows the site’s default form, with the locations that form offers.
[plugixa_car_parking form="airport" location="terminal-2" design="split"]
| Attribute | Default | Value |
|---|---|---|
form |
empty | The slug of a booking form. The form decides the steps, the extra fields, the colour, the design and which locations and space types are offered. Empty shows the default form. |
location |
empty | The id or the slug of the location the form starts on. Empty starts on the first location offered. |
design |
empty | classic, split or minimal. Shows the form in that design on this page, whatever the form is set to. Empty uses the form’s own design. Any other value is ignored. |
You do not have to write the form attribute by hand. Plugixa Car Parking -> Booking
forms shows the complete shortcode for each form, with a button that copies
it.
The shortcode also accepts view (default wizard) and mode. Neither
changes anything, so there is no reason to set either.
Designs
design |
Layout |
|---|---|
classic |
Numbered steps across the top, with the order beside them. The default. |
split |
The steps and the order in a column at the side. Needs a wide page. |
minimal |
One column with a “Step 2 of 5” progress bar, and the order folded into a bar. |
See Booking forms for pictures of each.
What the shortcode shows instead of the form
| What you see | Why |
|---|---|
| “No parking locations are available yet.” | No location is active, or the form’s locations are all inactive or in the trash. |
| Nothing at all, for visitors | form names a form that is Inactive or in the trash. Somebody who may edit booking forms sees “This booking form is inactive, so visitors do not see it.” in its place. |
| Built-in steps, without your form’s fields or colour | form names a slug that no form has. The shortcode does not print an error for this. |
| A payment result | The customer has just come back from paying online. See Booking wizard. |
If location names a location the form does not offer, the form starts on the
form’s first location instead. Somebody who may edit booking forms sees a note
above it: “The location this page names is not one this form books at, so the
form starts on its first location.” Visitors just get a working form. Before
version 1.1.0 such a page could not be used.
The booking summary
[plugixa_car_parking_summary]
Its one attribute is design (classic, split or minimal). Without it,
the summary follows the default form’s design. Put it on a page of its own,
then choose that page as
Booking summary page in Plugixa Car Parking -> Settings -> Bookings. From then
on:
- the confirmation screen has a View your booking button
- customer emails link to the summary
- the customer account has a View button on each booking
The page shows a booking only when its address carries the booking’s reference and the matching token, which is what those links contain. Opened without them it shows “This summary link is invalid or has expired.” The page is never indexed by search engines. What the summary contains is described in Booking wizard.
The customer account
[plugixa_car_parking_account]
Its one attribute is design, as for the summary. Without it, the page
follows the default form’s design. See
Customer account.
The map PRO
A searchable list of your car parks beside a Google map of them.
[plugixa_car_parking_map height="560" style="muted" layout="list"]
| Attribute | Default | Value |
|---|---|---|
height |
560 |
Height in pixels, 240 to 1600 |
zoom |
13 |
Zoom level when there is a single car park |
layout |
Setting | list (list beside the map) or map (map only) |
style |
Setting | muted, light, dark or google |
search |
yes |
no hides the search box and Near me |
See Map.
Where shortcodes can be used
Anywhere WordPress runs shortcodes: a page, a post, a Shortcode block, a page builder’s shortcode element or a widget area that supports shortcodes. In the block editor the booking form also has its own block.
The stylesheet and the scripts are loaded only on pages where a shortcode or the block is used. The Booking page and Booking summary page settings, and the page a customer returns to after paying online, look for the booking form in pages, so put the form on a page and not on a post.
A page can hold the booking form more than once. Since version 1.1.0 each one keeps its own steps, fields, coupon switch and design, so two different forms can share a page.
What Pro adds to these pages
Pro features add to the pages above without a shortcode of their own.
- Extras PRO appear on the space step of the booking form.
- Deposits PRO add the choice of what to pay now to the review step and to the summary’s Pay now box.
- Monthly payments PRO add the choice to pay a long stay by the month to the review step and the summary, and a button to manage the plan on the summary.
- Reschedule PRO adds an action to each booking in the customer account.
- Invoices PRO add a PDF link to the summary.
What to do next
- Create and configure forms in Booking forms.
- See what customers get in Booking wizard.
- For translated sites, see Multilingual.
Quick Links
Share