Skip to main content

Version Docs Updated

Purpose

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

πŸš— Availability Calendar

Contents​

  • Usage
  • Features
  • Developer Notes

The Availability Calendar module is designed to manage and present booking availability 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_availability_calendar vehicle_id=""]

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

Parameters​

The following parameters are available inside the shortcode:

ParameterDefaultDescription
vehicle_id(empty)Controls the module's feature filter behavior.
show_pricingapply_filters(mhm_rentiva/availability_calendar/show_pricingControls the module's general display behavior.
show_seasonal_pricesapply_filters(mhm_rentiva/availability_calendar/show_seasonal_pricesControls the module's general display behavior.
show_discountsapply_filters(mhm_rentiva/availability_calendar/show_discountsControls the module's general display behavior.
show_booking_buttonapply_filters(Controls the module's general display behavior.
themeapply_filters(mhm_rentiva/availability_calendar/themeControls the module's general display behavior.
start_date(empty)Controls the module's general display behavior.
months_aheadapply_filters(mhm_rentiva/availability_calendar/months_aheadControls the module's general display behavior.
months_to_showapply_filters(mhm_rentiva/availability_calendar/months_to_showControls the module's general display behavior.
start_month(empty)Controls the module's general display behavior.
show_weekendsapply_filters(mhm_rentiva/availability_calendar/show_weekendsControls the module's general display behavior.
show_past_datesapply_filters(mhm_rentiva/availability_calendar/show_past_datesControls the module's general display behavior.
integrate_pricingapply_filters(mhm_rentiva/availability_calendar/integrate_pricingControls the module's general display behavior.
class(empty)Controls the module's general layout 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-availability-calendar-wrapper class.
  • Customization: CSS variables (--mhm-color-primary, etc.) are inherited from the global css-variables.css file.

Section Summary​

  • The Availability Calendar 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.