Skip to main content

Version Docs Updated

Purpose

This page describes the Vehicles List module as a standard reference, covering both technical and operational aspects.

πŸš— Vehicles List

Contents​

  • Usage
  • Features
  • Developer Notes

The Vehicles List module is designed to manage and present vehicle listings to visitors on the Rentiva platform.

Usage​

IMAGE COMING SOON

A screenshot showing the frontend (visitor-facing) appearance of this module will be added here.

To add this module to any page or post, use the shortcode below:

[rentiva_vehicles_list limit="12"]

You can also insert it visually from the Gutenberg block editor by selecting "MHM Rentiva β†’ Vehicles List".

Parameters​

The following parameters are available inside the shortcode:

ParameterDefaultDescription
limit12Maximum number of items to display.
columns1Controls the module's general layout behavior.
orderbytitleControls the module's general sorting behavior.
orderASCControls the module's general sorting direction.
category(empty)Controls the module's feature filter behavior.
featured0Visibility toggle. 1 (on) or 0 (off).
show_image1Visibility toggle. 1 (on) or 0 (off).
show_title1Controls the module's general display behavior.
show_price1Controls the module's general display behavior.
show_features1Controls the module's general display behavior.
show_rating1Controls the module's general display behavior.
show_booking_button1Controls the module's general display behavior.
show_favorite_button1Controls the module's general display behavior.
show_category1Controls the module's general display behavior.
show_brand0Visibility toggle. 1 (on) or 0 (off).
show_badges1Controls the module's general display behavior.
show_description1Visibility toggle. 1 (on) or 0 (off).
show_availability0Controls the module's general display behavior.
show_compare_button1Controls the module's general display behavior.
enable_lazy_load1Visibility toggle. 1 (on) or 0 (off).
enable_ajax_filtering0Visibility toggle. 1 (on) or 0 (off).
enable_infinite_scroll0Visibility toggle. 1 (on) or 0 (off).
image_sizemediumControls the module's layout behavior.
ids(empty)Comma-separated ID list (e.g. 12,15,44).
max_features5Controls the module's feature filter behavior.
price_formatdailyControls the module's layout behavior.
class(empty)Controls the module's general layout behavior.
custom_css_class(empty)Controls the module's layout behavior.
min_rating(empty)Controls the module's query behavior.
min_reviews(empty)Controls the module's query behavior.

Features​

πŸ“± Responsive Design​

  • Mobile: Single-column layout.
  • Tablet (under 782px): Optimized view.
  • Desktop: Full view at the configured column count or width.

πŸš€ Performance-Focused​

  • Smart Caching: Database queries are optimized and cached by the system.
  • Conditional Loading: Static assets are only enqueued on pages where the module is used.

Developer Notes​

  • HTML Structure: All containers start with the .mhm-rentiva-vehicles-list-wrapper class.
  • Customization: CSS variables (--mhm-color-primary, etc.) are inherited from the global css-variables.css file.

Section Summary​

  • The Vehicles List page has been aligned to the standard documentation structure with consistent reference headings.

Changelog​

DateVersionNote
23.04.20264.27.2English translation added.
19.03.20264.21.0-docsPage alphabetized and image placeholder added.