Shortcodes
[cr_bee_fleet]
Static fleet gallery with category filters
Renders a full fleet gallery showing all your vehicles, with category filter tabs.
Usage
[cr_bee_fleet]Attributes
| Attribute | Default | Range | Description |
|---|---|---|---|
columns | 3 | 1–6 | Number of grid columns |
category | (all) | slug | Pre-filter to a specific category |
layout | grid | grid/list | Display layout |
Examples
[cr_bee_fleet columns="4"]
[cr_bee_fleet category="suv" columns="2"]
[cr_bee_fleet layout="list"]What It Renders
- Category filter tabs (All, Economy, SUV, etc.)
- Vehicle cards in grid or list layout:
- Vehicle image
- Name and category
- Key specs
- Starting price
- "View" link
URL Parameter
The active category can be set via URL parameter:
https://yoursite.com/fleet/?category=suvPriority: shortcode category attribute > URL ?category= param > "All"
API Calls
| Endpoint | Cache TTL | Purpose |
|---|---|---|
GET /cars?withPrices=true | 5 min | All vehicles with pricing |
GET /categories | 15 min | Category list for filter tabs |
GET /settings | 5 min | Currency and labels |
Notes
- Unlike the results page, the fleet page shows all vehicles regardless of availability
- No date selection is needed — prices shown are starting-from prices
- Clicking a vehicle links to the Vehicle Details page