Contents
On this page
Blocks - Plugixa Car Parking
The plugin registers one block, Car Parking Booking Form. It puts the booking wizard on a page without typing a shortcode.
| Name in the inserter | Car Parking Booking Form |
| Description | “A form visitors book a parking space with.” |
| Category | Widgets |
| Block name | plugixacarparking/booking-form |
Adding the block

- Edit the page where the form should appear.
- Add a block and search for Car Parking Booking Form.
- Choose a form, a design and a location in the sidebar, or leave them as they are.
- Update or publish the page.
Settings
The block has one panel in the sidebar, Booking form, with three lists.
| Setting | Default | What it does |
|---|---|---|
| Form | Standard form | “A saved form sets the steps, its own fields, the colour and the design.” The list holds your active booking forms, by name. Standard form shows the site’s default form. |
| Design | As the form is set | “How the form looks on this page. Split needs a wide block to show its side column.” Classic, Split or Minimal. Added in version 1.1.0. |
| Location | First available | “The location the form starts on.” The list holds the active locations the chosen form books at. |
These are the same choices as the form, design and location attributes of the
[plugixa_car_parking]
shortcode. The block is drawn
by the same code as the shortcode, so the two always look and behave the same.
A form or a location that was chosen earlier and has since been deactivated or trashed stays selected in the list, shown by its slug. Opening the sidebar never changes what a published page says.
The preview in the editor
The editor shows the form as it will appear on the site, with the form’s own colour. It is a preview: clicking it selects the block, and the fields and buttons do not respond. Open the page itself, or its preview, to try a booking.
If the chosen form is inactive, the editor shows “This booking form is inactive, so visitors do not see it.” Visitors see nothing in that place.
The other pages
The booking summary, the customer account and the Pro map have no block. Add them with the Shortcode block that comes with WordPress:
-
Add a block and search for Shortcode.
-
Paste one of these:
[plugixa_car_parking_summary] [plugixa_car_parking_account] -
Update or publish the page.
Width and layout
Since version 1.1.0 the block takes the Wide width and Full width alignments from the block toolbar, so a form can be wider than the text of the page. The Split design needs that room for its side column: give it a wide block, or a full-width page template.
The form fills the width of the block it sits in and rearranges itself to the room it is given: the order summary sits beside the steps when there is room and under them otherwise. On a phone, the order folds into a bar at the bottom of the form. See the three designs in Booking forms.
What to do next
- The shortcodes and their attributes are covered in Shortcodes.
- What appears on the page is covered in Booking wizard.
Quick Links
Share