BACK TO DIRECTORY

Comment Rating Stars

by jgadbois

4.7
(6 ratings)

A simple plugin for adding review and rating functionality to WordPress comments.

The plugin provides a series of template tags for adding review functionality to your comments

Here’s a few of them:

  1. csr_get_rating_star_form() – adds the review stars to the comment form. Ratings are automatically saved
  2. csr_get_rating_star_form_label() – a label for the review star field
  3. csr_get_rating_stars($comment_id = 0) – a view only view of the rating stars for a comment
  4. csr_get_comment_rating($comment_id = 0) – the numeric rating for a comment
  5. csr_get_overall_rating($post_id = 0) – the average rating for a post
  6. csr_get_overall_rating_stars($post_id = 0) – the stars representing the average rating for a post
  7. csr_get_rating_count($post_id = 0) – the number of ratings for a post

Plugin Details

Active Installs
100
Total Downloads
5,198
Version
1.0.0-RC1
Requires WP
3.6
Requires PHP
Tested Up To
3.6.1
Added
2013-10-01
Last Updated
2013-10-01 12:44pm GMT

Ratings

5
4
4
2
3
0
2
0
1
0