Our plugin includes several templates for review widgets (e.g., Reviews Grid or Reviews Slider) that can be overridden to adjust the default layout. This solution article explains how to do it in such a way that the modifications will not be lost after future updates of our plugin or your current theme.

  1. Make sure that you have created and activated a child theme. If you do modifications directly in the parent theme, they will be lost after next update of the theme.
  2. Create a new folder customer-reviews-woocommerce inside the child theme's folder.
  3. Copy the template that you would like to override from templates folder in our plugin to the customer-reviews-woocommerce folder created at the step 2. For example, if you would like to customize layout of the Reviews Slider block, copy reviews-slider.php file.
  4. Modify the file in customer-reviews-woocommerce folder according to your requirements.

It is important to carefully test the modified template. A small typo can lead to invalid HTML or critical PHP errors.