I made the mistake of not reading the reviews beforehand and I’ve just installed and configured this plugin for a client. I’m not able to convert all the testimonials to a new plugin, but seeing as there’s been no activity from the plugin author, I thought I’d go in and fix the plugin issue:
I’m using the default theme and the rotator shortcode, so the problem file for me is templates/default/loop-testimonials.php. Firstly, I removed all instances of ‘$hclass’. Then I entered my own Reviews json schema at the top of the file:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Review",
"itemReviewed": {
"@type": "Organization",
"name": "Company Name"
},
"reviewRating": {
"@type": "Rating",
"ratingValue": "'.$rating.'"
},
"name": "Company Name",
"author": {
"@type": "Organization",
"name": "'.$post_title.'"
},
"reviewBody": "'.$reviewBody.'"
}
</script>
The above are the required properties for Review schema only. Add more if you wish. Make sure $post_title and $reviewBody variables are declared above this. Code for the $reviewBody variable can be found further down the file in the CONTENT section.
Finally, in the main testimonial-rotator.php file in the root of the plugin, find this line if( $show_microdata ) $cycle_class .= ' hreview-aggregate ';
and comment it out (around line 482).
That should stop the Search Console issues, but just check by running the web page through their testing tool: https://search.google.com/u/0/test/rich-results
More info on Reviews schema can be found here:
https://developers.google.com/search/docs/data-types/review-snippet#json-ld_1
https://schema.org/Review