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.
- 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.
- Create a new folder customer-reviews-woocommerce inside the child theme's folder.
- Copy the template that you would like to override from the 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 the reviews-slider.php file.
- Modify the file in the customer-reviews-woocommerce folder of the child theme 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.
Still need help?
We hope that this solution was helpful. If not, please don't hesitate to reach out to us on the support forum. If you have a Pro license, please create a ticket on this portal for priority support. We are always available to help.