For the complete documentation index, see llms.txt. This page is also available as Markdown.

Shortcodes

All shortcodes provided by the OVA-BRW plugin — embed booking forms, search widgets, product sections, and availability calendars anywhere on your site.

  • 27 Total shortcodes

  • 17 Single product

  • 8 Search forms

  • 2 Other

Single Product Shortcodes

All shortcodes in this group accept id (WooCommerce product ID, required) and class (extra CSS class on the wrapper, optional). The product must be an OVA-BRW rental type.

[ovabrw_st_booking_form] Embeds the full booking form for a specific product

Renders the rental booking form (date pickers, quantity/vehicle, services, custom checkout fields, total) for the product specified by id. Also conditionally enqueues Google Maps (for location fields) and reCAPTCHA scripts when the product requires them. Use this to embed a booking widget outside the product page — e.g. on a landing page or homepage hero.

Parameters

Parameter
Default
Description

id

''

WooCommerce product ID. Required.

class

''

Extra CSS class on the wrapper element.

Example

[ovabrw_st_booking_form id="42" class="my-booking-widget"]
[ovabrw_st_request_booking_form] Embeds the "request booking" form for a specific product

Renders the Request Booking form variant for the specified product. The request form is a lighter alternative to the full booking form — customers submit an enquiry rather than a confirmed booking. Useful for products with manual approval workflows.

Parameters

Parameter
Default
Description

id

''

WooCommerce product ID. Required.

class

''

Extra CSS class on the wrapper element.

Example

[ovabrw_st_request_booking_form id="42"]
[ovabrw_st_product_calendar] Availability calendar for a specific product

Renders a visual availability calendar showing booked/available dates for the product. Uses the shortcode/st-calendar.php template. Embed this alongside the booking form so customers can see blocked dates before choosing their rental period.

Parameters

Parameter
Default
Description

id

''

WooCommerce product ID. Required.

class

''

Extra CSS class on the wrapper element.

Example

[ovabrw_st_product_calendar id="42"]
[ovabrw_st_table_price_product] Pricing table for a specific product

Renders the pricing/rate table configured for the product (e.g. daily rates, peak/off-peak pricing, duration tiers). Uses the shortcode/st-table-price.php template.

Example

[ovabrw_st_feature_product] Feature highlights block for a specific product (st-features template)

Renders the feature highlights section for the product using the shortcode/st-features.php template. This is distinct from [ovabrw_product_features] which uses a different template file (shortcode/product-features.php).

Example

[ovabrw_product_title] Product title

Renders the title of the specified product via shortcode/product-title.php.

Example

[ovabrw_product_price] Price display for a specific product

Renders the formatted base price of the product via shortcode/product-price.php.

Example

[ovabrw_product_short_description] Short description for a specific product

Renders the WooCommerce short description of the product via shortcode/product-short-description.php.

Example

[ovabrw_product_features] Features list for a specific product

Renders the product's feature list via shortcode/product-features.php. Different template from [ovabrw_st_feature_product].

Example

[ovabrw_product_specifications] Specifications section for a specific product

Renders all enabled specification fields and their values for the product via shortcode/product-specifications.php. Specifications are defined globally in BRW → Specifications.

Example

[ovabrw_product_tabs] Tabbed content for a specific product

Renders a tabbed interface for the product via shortcode/product-tabs.php. Tabs typically include Description, Reviews, and any custom tabs configured on the product.

Example

[ovabrw_product_review] Reviews and ratings for a specific product

Renders the WooCommerce reviews section (star rating + comments) for the product via shortcode/product-review.php.

Example

[ovabrw_product_taxonomy] Taxonomy terms (category, tags, custom) for a specific product

Renders the taxonomy labels (categories, tags, or custom taxonomies) associated with the product via shortcode/product-taxonomy.php.

Example

[ovabrw_product_meta] Meta information for a specific product

Renders product meta information (SKU, categories, tags) via shortcode/product-meta.php.

Example

[ovabrw_product_unavailable] List of blocked/unavailable dates for a specific product

Renders the list of manually blocked / unavailable date ranges configured for the product via shortcode/product-unavailable.php. Useful to display alongside the calendar.

Example

Product Listing Grid / Archive

[ovabrw_products] Rental product listing grid — filter by category, card style, columns, ordering

Renders a paginated grid of rental products via shortcode/list-products.php. Supports filtering by category slug, multiple card styles, column layout, ordering, and custom post count. Use this to build a manual archive or a "Featured Products" section.

Parameters

Parameter
Default
Description

class

''

Extra CSS class on the wrapper.

posts_per_page

6

Number of products to display.

order

'DESC'

Sort direction: ASC or DESC.

orderby

'date'

Sort field: date, title, price, rand, etc.

categories

''

Comma-separated category slugs to filter by. Empty = all categories.

card

'card1'

Card template: card1, card2, card3, … (theme-dependent).

column

3

Number of columns in the grid.

Example

Search Form Shortcodes

Search shortcodes come in redirect (submit → results page) and AJAX (results load inline, no page change) variants. The AJAX variants include additional result display parameters (card_template, posts_per_page, columns, pagination).

[ovabrw_search] General search form — all rental types, redirect to results page

The most flexible search form, suitable for Day/Hour/Mixed/Period/Transportation rental types. Fields are individually toggled via show_* parameters. Submitting redirects to result_url (or the configured archive page if blank). Empty attribute values fall back to the plugin's global settings.

Key Parameters

Parameter
Default
Description

class

''

Extra CSS class.

template

'search_form_full'

Layout template name.

column

''

Number of form columns.

result_url

''

URL to redirect to on submit. Defaults to archive page.

show_name_product

''

Show product name field (yes/no).

show_cat

''

Show category dropdown.

remove_cats_id

''

Comma-separated category IDs to exclude from the dropdown.

show_pickup_loc / show_dropoff_loc

''

Show pickup / dropoff location dropdowns.

pickup_loc / dropoff_loc

''

Pre-selected location slug.

show_pickup_date / show_dropoff_date

''

Show date pickers.

pickup_date / dropoff_date

''

Pre-filled date value.

show_guest

''

Show guest count field.

min_guests / max_guests

''

Guest count limits.

show_quantity

''

Show quantity field.

show_attribute

''

Show WooCommerce attribute filter.

show_tag_product

''

Show product tags filter.

product_tag

''

Pre-selected product tag slug.

show_tax

''

Show custom taxonomy filter.

show_price_filter

''

Show price range slider.

min_price / max_price

''

Price slider bounds.

button_text

''

Search button label.

orderby / order

'title' / 'ASC'

Default sort applied to results page.

Example

[ovabrw_search_ajax] General search form with inline AJAX results

Same field support as [ovabrw_search] but renders results inline without a page redirect. The form can be positioned at the top, left, or right of the results. Conditionally loads Google Maps if the location field type is included in fields.

Key Parameters (beyond search)

Parameter
Default
Description

fields

'product-name|category|...'

Pipe-separated list of fields to show. Available: product-name, category, pickup-location, dropoff-location, pickup-date, dropoff-date, guest, product-tags, quantity, price-filter, taxonomies.

field_columns

4

Number of form field columns.

position

'top'

Form position relative to results: top, left, right.

show_time

'yes'

Show time pickers in date fields.

card_template

'card1'

Card template for results.

posts_per_page

6

Results per page.

columns

3

Result grid columns.

show_results_found

'yes'

Show "X results found" counter.

show_sort_by

'yes'

Show sort dropdown in results.

pagination

'yes'

Show pagination controls.

Example

[ovabrw_search_hotel] Hotel/accommodation search form — positional fields, redirect

A search form optimized for Hotel/Tour rental types. Up to 9 fields are defined positionally via field_1 through field_9. Each slot takes a field type name. Submitting redirects to result_url.

Key Parameters

Parameter
Default
Description

field_1 … field_9

category, pickup_date, dropoff_date, guest, '', '', '', '', ''

Positional field slots. Available values: name, category, pickup_date, dropoff_date, guest, attribute, quantity, product_tag, price_filter.

default_cat

''

Pre-selected category slug.

category_in / category_not_in

''

Comma-separated category IDs to include or exclude.

is_use_guest_woo

''

Use WooCommerce-style guest counter (yes/no).

default_adult_number / min_adults / max_adults

''

Adult sub-counter controls.

default_children_number / min_children / max_children

''

Children sub-counter controls.

default_babies_number / min_babies / max_babies

''

Babies sub-counter controls.

card / columns

'card1' / 'column4'

Results card template and column class (used on results page).

result_url

''

Redirect target on submit.

Example

[ovabrw_search_ajax_hotel] Hotel search with inline AJAX results and configurable form position

Same field system as [ovabrw_search_hotel] but renders results inline without a page redirect. Form position (left/right) and search form column count are additional parameters.

Additional Parameters vs. search_hotel

Parameter
Default
Description

form_search_position

'left'

Position of the search form relative to results: left or right.

search_form_columns

3

Number of columns in the search form.

card

'card1'

Card template for results.

posts_per_page

6

Number of results per page.

result_column

'two-column'

Result grid layout class.

pagination

Pagination display for results.

Example

[ovabrw_search_taxi] Taxi/transfer search with Google Maps autocomplete, redirect

A search form for Taxi / Transportation rental types where pickup and dropoff locations use Google Maps (or OpenStreetMap) place autocomplete rather than a preset dropdown. Supports two layouts and pipe-separated configurable field order. Enqueues the Google Maps API script when a key is configured.

Key Parameters

Parameter
Default
Description

layout

'layout1'

Form layout: layout1 or layout2.

column

2

Number of form columns.

fields

'pickup-location|dropoff-location|pickup-date|category|number-seats|quantity'

Pipe-separated field list. Available: pickup-location, dropoff-location, pickup-date, category, number-seats, quantity, price-filter, product-tags, taxonomies.

map_type

'geocode'

Google Maps autocomplete type: geocode, address, establishment, (regions), (cities).

bounds / lat / lng / radius

''

Geographic bias / bounds for autocomplete suggestions.

restrictions

''

Country restriction for autocomplete (e.g. us, vn).

default_category

''

Pre-selected category slug.

incl_category / excl_category

''

Comma-separated category IDs to include / exclude.

default_seats

''

Pre-filled number of seats value.

button_icon

'flaticon-search-1'

Icon class on the submit button.

button_text

'Search Taxi'

Submit button label.

result_url

''

Redirect URL on submit.

Example

[ovabrw_search_taxi_ajax] Taxi/transfer search with inline AJAX results

Same location autocomplete and field system as [ovabrw_search_taxi] but displays results inline via AJAX. Adds result display parameters and a term pre-filter.

Additional Parameters vs. search_taxi

Parameter
Default
Description

columns

4

Number of form columns.

card_template

'card1'

Card template for inline results.

posts_per_page

6

Results per page.

column

'three-column'

Result grid layout class.

term

''

Pre-filter results by category term slug on load.

pagination

'yes'

Show pagination for results.

Example

[ovabrw_search_package] Package/tour search with configurable fields, redirect

Search form for fixed-package rentals (e.g. hourly tours, excursions with set durations). Fields are pipe-separated via fields. Package time slot definitions are passed as JSON via the packages parameter, delimited by ||.

Key Parameters

Parameter
Default
Description

fields

'pickup-location|dropoff-location|pickup-date|packages|quantity'

Pipe-separated field list. Available types: name, category, pickup-location, dropoff-location, pickup-date, packages, guest, quantity, product-tags, price-filter, taxonomies.

columns

2

Number of form columns.

packages

''

Package slot definitions as JSON objects separated by ||.

show_time

''

Show time picker alongside date.

default_category / incl_cat / excl_cat

''

Category pre-selection and inclusion/exclusion.

result_url

''

Redirect URL on submit.

Example

[ovabrw_search_package_ajax] Package/tour search with inline AJAX results

Same as [ovabrw_search_package] but renders results inline without a redirect. Adds result display parameters.

Additional Parameters vs. search_package

Parameter
Default
Description

card_template

'card1'

Card template for inline results.

result_column

3

Number of result columns.

posts_per_page

6

Results per page.

orderby / order

'title' / 'ASC'

Default sort for results.

pagination

'yes'

Show pagination for results.

Example

Appointment Popup

[ovabrw_appointment_popup_button] A button that opens the appointment booking popup for a product

Renders a button that, when clicked, opens a modal popup containing the full Appointment booking form for the specified product. Automatically enqueues the popup stylesheet and reCAPTCHA script. Use this to add an "Book Appointment" CTA anywhere on the site without requiring the customer to navigate to the product page.

Parameters

Parameter
Default
Description

product_id

''

WooCommerce product ID (Appointment type). Required.

text_button

'Book Appointment'

Button label text.

icon_button

'far fa-calendar-alt'

Font Awesome (or other icon font) class for the button icon.

icon_align

'before'

Icon position: before or after the button text.

Example

The product must use the Rental by Appointment type. Using this shortcode with other rental types will not render the correct form.