Skip to main content

Version Docs Updated

Purpose

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

πŸš— Testimonials

Contents​

  • Usage
  • Features
  • Developer Notes

The Testimonials module is designed to manage and present support reviews 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_testimonials limit="apply_filters(mhm_rentiva/testimonials/limit"]

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

Parameters​

The following parameters are available inside the shortcode:

ParameterDefaultDescription
limitapply_filters(mhm_rentiva/testimonials/limitMaximum number of items to display.
ratingapply_filters(mhm_rentiva/testimonials/ratingControls the module's feature filter behavior.
vehicle_idapply_filters(mhm_rentiva/testimonials/vehicle_idControls the module's feature filter behavior.
orderbyapply_filters(mhm_rentiva/testimonials/orderbyControls the module's general sorting behavior.
orderapply_filters(mhm_rentiva/testimonials/orderControls the module's general sorting direction.
show_ratingapply_filters(mhm_rentiva/testimonials/show_ratingControls the module's general display behavior.
show_dateapply_filters(mhm_rentiva/testimonials/show_dateVisibility toggle. 1 (on) or 0 (off).
show_vehicleapply_filters(mhm_rentiva/testimonials/show_vehicleVisibility toggle. 1 (on) or 0 (off).
show_customerapply_filters(mhm_rentiva/testimonials/show_customerVisibility toggle. 1 (on) or 0 (off).
layoutapply_filters(mhm_rentiva/testimonials/layoutControls the module's general layout behavior.
columnsapply_filters(mhm_rentiva/testimonials/columnsControls the module's general layout behavior.
auto_rotateapply_filters(mhm_rentiva/testimonials/auto_rotateVisibility toggle. 1 (on) or 0 (off).
classapply_filters(mhm_rentiva/testimonials/classControls 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-testimonials-wrapper class.
  • Customization: CSS variables (--mhm-color-primary, etc.) are inherited from the global css-variables.css file.

Section Summary​

  • The Testimonials 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.