Add filtering
-
To removes bad reviews
<script>
document.addEventListener('DOMContentLoaded', function() {
setTimeout(function(){}, 1000);
var reviews = document.querySelectorAll('.grw-review');
reviews.forEach(function(review) {
var stars = review.querySelectorAll('.wp-stars use[href="#grw-star"]').length;
if (stars < 5) {
review.style.display = 'none';
}
});
});
</script>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this review.