Support » Plugins and Hacks » Comment Rating Stars » How can i use this Plugin ?
3 years, 1 month ago
How to add it to my comments ?
How to show the average rating ?
Will it save the rating with each comment posted ?
2 years, 9 months ago
I’m wondering the same thing. It seems like some substantial knowledge of php is needed to use this plugin.
This is how it works with a custom comment template:
You can (after installing the plugin) put the template tags in <?php echo template-tag; ?>. Add the tags in your comments.php file and your functions file.
If you put <?php echo csr_get_rating_star_form(); ?> in the comments.php file, the rating stars will show at the comments fields section.
<?php echo csr_get_rating_star_form(); ?>
If you put <?php echo csr_get_rating_stars($comment_id = 0); ?> in your comment function in functions.php, the rating stars will show the right amount of stars that belongs by the comment.
<?php echo csr_get_rating_stars($comment_id = 0); ?>
Open the functions.php and the comments.php file and look for the right place to add the tags.