CR Bee Docs
Shortcodes

[cr_bee_featured_vehicles]

Carousel of featured vehicles from your fleet

Renders a carousel slider showing vehicles marked as "Featured" in the CR Bee admin.

Usage

[cr_bee_featured_vehicles]

Attributes

AttributeDefaultRangeDescription
limit81–20Maximum number of vehicles to show
columns41–6Number of visible columns
autoplaytruetrue/falseAuto-advance the carousel
speed50001000–30000Autoplay interval in milliseconds

Examples

[cr_bee_featured_vehicles limit="6" columns="3"]
[cr_bee_featured_vehicles autoplay="false" columns="2"]
[cr_bee_featured_vehicles limit="10" speed="3000"]

What It Renders

A responsive carousel (powered by Splide.js) showing featured vehicle cards:

  • Vehicle image
  • Name and category
  • Starting price (if available)
  • "View Details" link

API Calls

EndpointCache TTLPurpose
GET /cars?featured=true5 minFetch featured vehicles with prices
GET /settings5 minCurrency and labels

Notes

  • Only vehicles marked as "Featured" in Fleet > Edit Vehicle appear in this carousel
  • Each carousel instance gets a unique ID, so multiple shortcodes can appear on the same page
  • The carousel is responsive and adjusts the number of visible columns based on screen width

On this page