rainbowguy
Forum Replies Created
-
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] How to get reviewer rating?Hi @pear8398
Thanks for reply. Got it this way :
get_comment_meta( get_comment_ID(), ‘rating’, true ) ;
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Modify Reviews@pear8398 Is it possible to customize like @pistachio6321 mentioned please?
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Modify ReviewsAlso, I was going to post a new topic today about pear8398 answer but he replied to it beforehand 🙂 Thx!
Indeed, I was looking for the template for the summary but couldn’t find it. The file you suggested is the one. Great!
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Modify ReviewsThanks for the reply.
I did find the answer as per below:
echo '5 star' . $product->get_rating_count( 5 ) . ' votes <br>';
echo '4 star' . $product->get_rating_count( 4 ) . ' votes <br>';
echo '3 star' . $product->get_rating_count( 3 ) . ' votes <br>';
echo '2 star' . $product->get_rating_count( 2 ) . ' votes <br>';
echo '1 star' . $product->get_rating_count( 1 ) . ' votes <br>';
It counts the number of votes per rating.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Modify ReviewsThanks.
Yes, I did this and looking for more details on functions, filters on how to change functionality such as find number of votes per review star instead of percentage? Is there some kind of hook guide and list of functions?
Forum: Developing with WordPress
In reply to: How to enqueue scripts in functions.phpI see. Thanks for the suggestion.
So that means the bootstrap import is fine as well then.