How it works
Create a transport
Open Transport Booking → Add New Transport. Add details, stops, boarding & dropping points, then publish.
Choose a detail template
In the transport editor pick Default, Light or Premium under the Template setting.
Add a shortcode
Paste one of the shortcodes below into any WordPress page.
Shortcodes
1. abptb-booking — booking list plus search form
Displays the transport list with search, filters, seat/ticket selection and the booking flow.
[abptb-booking]BUY TICKET
No Results Found !
2. abptb-post — transport list without the booking wrapper
Shows transport cards without the search and booking form. Good for landing pages.
[abptb-post]No Results Found !
3. abptb-gallery — gallery or slider
Displays gallery images attached to transports, as a grid or auto-playing slider.
[abptb-gallery]4. abptb-ticket — PRO ticket lookup and check-in
Added by the optional ABP Transport Booking PRO add-on. Ticket lookup, PDF download and check-in.
Open the live Ticket Lookup page →
Show a single transport
Add post_id to abptb-booking or abptb-post to render that transport’s full details page (banner, stops, seat/ticket box, booking form). The design comes from the transport’s own Template setting.
[abptb-booking post_id="236"]🚍 Metro Central City Hopper (441)
Frequent hop-on hop-off loops across the downtown core.
BUY TICKET
[abptb-booking post_id="407"]🚍 Megabus Affordable City-to-City Travel (272)
Travel comfortably with modern vehicles and professional drivers.
BUY TICKET
[abptb-booking post_id="413"]🚍 Jefferson Lines Regional Bus Network (693)
Travel comfortably with modern vehicles and professional drivers.
BUY TICKET
Listing styles
Change the style attribute to switch the list layout. Grid is the default.
[abptb-booking style="grid"]BUY TICKET
No Results Found !
[abptb-booking style="missionary"]BUY TICKET
No Results Found !
Common attributes
| Attribute | Values | What it does |
|---|---|---|
post_id |
transport ID | Render one transport’s details page instead of the list. |
style |
grid, missionary | Choose the transport list layout. |
column |
1–10 | Number of columns in the grid. |
show |
number | Maximum number of transports to display. |
pagination |
yes, no | Turn pagination on or off. |
pagination-style |
live, number | Load-more style or numbered pages. |
sort |
ASC, DESC | Oldest first or newest first. |
cat_id |
term ID | Only transports in a category. |
loc_id |
term ID | Only transports at a location. |
brand_id |
term ID | Only transports of a brand. |
org_id |
term ID | Only transports by an organizer. |
category |
on, off | Show the category filter dropdown. |
brand |
on, off | Show the brand filter dropdown. |
organizer |
on, off | Show the organizer filter dropdown. |
location |
on, off | Show the location filter dropdown. |
slider_style |
gallery, slider | Gallery grid or auto-playing slider. |
Filter bar
The transport list filter bar can show dropdowns for category, location, brand and organizer. Toggle them with the matching attributes (on/off). All dropdowns combine, so a visitor can narrow by location and brand at the same time.
[abptb-post category="on" location="on" brand="off" organizer="off"]No Results Found !
[abptb-post category="off" location="off" brand="off" organizer="off"]No Results Found !
More examples
[abptb-booking column="3" sort="DESC"]BUY TICKET
No Results Found !
[abptb-booking show="6" pagination="no"]BUY TICKET
No Results Found !
[abptb-booking cat_id="105"]BUY TICKET
No Results Found !
[abptb-gallery slider_style="slider"][abptb-gallery post_id="236"]Details templates
Each transport can use one of three details templates. Compare them side by side:
What you can configure
- General admission tickets and reserved seats with reusable seat plans.
- Specific or periodic journey dates and times.
- Minimum, maximum and reserved quantity controls per ticket type.
- Global or per-transport locations, categories, organizers and brands.
- Additional services, FAQs and Terms & Conditions.
- Related transports and a Google location map.
- All three details templates plus gallery and slider layouts.
- WooCommerce cart, checkout, coupons, taxes and customer bookings in My Account.
Need help?
Read the full plugin documentation, visit the Support Desk, or upgrade to ABP Transport Booking PRO for discounts, partial payments, PDF tickets, QR codes and more.