Wheelbase Widget
Wheelbase Widget shortcode for embedding rental stores and listing pages
by Wheelbase Pro · github.com/outdoorsy/wheelbase-widget-wordpress-plugin · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/outdoorsy/wheelbase-widget-wordpress-plugin/archive/refs/heads/staging.zipWordPress plugin that embeds the Wheelbase rental storefront on any WordPress page or post using a simple shortcode. See the full documentation.
Installation
- Download or build
wheelbase-widget.zip - In WordPress admin, go to Plugins > Add New > Upload Plugin
- Upload
wheelbase-widget.zipand click Install Now - Click Activate
Usage
Add the [wheelbase-widget] shortcode to any page or post. The only required attribute is dealer-id:
[wheelbase-widget dealer-id="24019"]
Available Attributes
| Attribute | Type | Required | Description |
|---|---|---|---|
dealer-id |
number | Yes | Your Wheelbase dealer ID |
store-type |
string | No | Type of rentals: rv or auto (defaults to rv) |
background-color |
string | No | Custom background color (e.g. #f8f9fa) |
primary-color |
string | No | Primary theme color |
secondary-color |
string | No | Secondary theme color |
text-color |
string | No | Text color |
text-secondary-color |
string | No | Secondary text color |
surface-color |
string | No | Surface/card color |
hide-hero |
boolean | No | Hide the hero section (true/false) |
hide-filters |
boolean | No | Hide search filters (true/false) |
hide-calendar-view |
boolean | No | Hide calendar/list view toggle (true/false) |
hide-locale-selector |
boolean | No | Hide language/locale selector dropdown (true/false) |
show-reviews |
boolean | No | Show reviews in listing header (true/false) |
locale |
string | No | Language locale (e.g. en-us, fr-fr, de-de) |
env |
string | No | Environment: production or staging |
visible-filters |
string | No | Comma-separated list of top-level filters to show |
visible-nested-filters |
string | No | Comma-separated list of modal filter sections to show |
segment-token |
string | No | Segment analytics token |
google-tag-manager-id |
string | No | Google Tag Manager container ID |
google-analytics-id |
string | No | Google Analytics measurement ID |
Examples
Basic usage:
[wheelbase-widget dealer-id="24019"]
With custom colors and hidden hero:
[wheelbase-widget dealer-id="24019" background-color="#f8f9fa" primary-color="#2563eb" hide-hero="true"]
French locale:
[wheelbase-widget dealer-id="24019" locale="fr-fr"]
Auto rentals:
[wheelbase-widget dealer-id="24019" store-type="auto"]
How It Works
The plugin:
- Loads the Wheelbase Widget script (
wheelbase-widget.js) from CDN as an ES module - Converts
[wheelbase-widget]shortcode attributes into a<wheelbase-store>web component - The web component renders the full rental storefront with shadow DOM for CSS isolation
CDN Source
The widget script is loaded from:
https://d2toxav8qvoos4.cloudfront.net/latest/wheelbase-widget.js
This always points to the latest production release.
Building the ZIP
Run the build script to create/update the installable ZIP:
./build.sh
License
GPL2