SN Rating Plugin Configuration


In order to configure the plugin correctly it is important to be aware with the purpose and features offered by different configuration tabs. Described below are the quick summary of the three tabs. Each tab will be elaborated in detail in detail section

Rating Configuration tab

This tab allows the webmaster to enable the rating features for supported post types. For e.g. you may only want to enable ratings for posts.

Rating Parameters Configuration tab

This tab allows the webmaster to add different ratings. This represents what the webmaster would like the users to rate on. Some examples of rating parameters are accuracy-How much accurate the content was, Relevance-How much relevant the content was. This helps in assigning rating based on post types.

Analytics & Sharing Configuration tab

Analytics & Sharing Configuration tab groups three logic sections-

1. Theme Rating scale. Rating theme represents how the rating would look like. Scale is the essentially the point system (for e.g. scale of 3-represents good, average and bad.)  This tab allows the webmaster to add different ratings.

2. Location Tracking. This is an analytic feature which captures the IP location of the user. This helps in the gauging the region wise users engagement to the content. This helps a lot in knowing what and where it is working and not working.

3. Social sharing. Enable sharing of rating on Facebook and twitter to promote the post or content.

You would have noticed by now that Rating parameters and advanced tab creates building blocks which is consumed on the general tab to create custom ratings per post types.

Here are two scenarios which will reinforce the purpose of the three tabs

“I would like to configure 3 points accuracy ratings for my pages with a red star image theme”

“I would like to configure 2 points relevant ratings for comments with a green star image theme”


Now that you understand the three tabs let us deep dive and start configuring the tabs.

Rating Configuration tab

  1. Enable the content type for rating assignment by checking the check box under enable rating column. Click on “Save changes” button.  This will enable the “Edit theme” and “Assign Rating Parameters” links under action menu.managePosts
  2. Click on the edit theme link to assign the appropriate theme and hit save changes. To reiterate theme is an image used for showing the rating. Shown below is a snap shot of the dialog box assign_theme_box
  3. Click on “Assign Rating Parameters” link to assign the rating parameter and hit save changes.  Shown below is a snap shot of the dialog boxAssignRatingParameters

Rating Parameters Configuration Tab

  1. This is a straight forward screen. Add your rating parameter appropriate for the post type and hit save changes. You can also edit or delete exiting rating parameters from this screen.RP

Analytics & Sharing Configuration tab

  1. Select the theme you would like to edit.
  2. Assign the rating scale.It needs to be a whole number.
  3. Enable the demographic mode if you would like to capture the IP of users who rated. Please ensure that you download and extract Gzip File containing IP with location mapping information to root directory of sn_rating plugin (wp-content\plugins\sn_rating folder)
  4. Enable the social sharing if  you would like users to share the rating on social media (As of now Facebook and twitter only).
  5. Edit the text appropriately. This text will appear as a FB status or a tweet on twitter.
  6. Hit the save changesdemographic-step-4

You are all set now :).


9 thoughts on “SN Rating Plugin Configuration

  1. Hi there! thanks for the plugin!
    I have a problem with the plugin right after the installation: Invalid argument supplied for foreach() in /var/www/wordpress/wp-content/plugins/sn-rating/ajax-rating.php on line 276. Could you help me on this one? thanks!

    • Hi Peter,

      Can you please check existence of folder ‘images/themes’ under ‘plugins/sn-rating’ directory. ‘themes’ folder further contains ‘default’ and ‘custom’ folder with their images.

      I guess somehow those folders got missed during installation. I suggest you to take fresh installation of this plugin.

      Please feel free to contact us if further you face any issue.

      Paritosh Gautam

  2. Nice plugin but I get sth like that under “Edit theme”:
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/sn-rating/ajax-rating.php on line 281

  3. hi am new to wordpress and having installed your theme I do not know what shortcode to put onto my page to allow the author of a post to set a rating. Please advise.

  4. It’s a relief that I managed to come across it has the info I was actually searching for. You’ve built an excellent site
    and it’s obvious you possess a thorough comprehension of the issue. Thanks to your wealth of information, I’ve discovered a whole lot more about the topic and will be coming back for more.

  5. Hello !
    I would like to add the rating widget in an archive page, I see that you plug the rating html with add_action( ‘the_content’, ‘add_rating_to_content’ );
    Could we extend the plugin functionality with letting user add the rating to excerpt with the same add_action hook ?
    Just a thought 🙂
    Great and simple plugin nayway !

  6. Add to your blog how one would use aggregate-rating, best, # votes into single, archive, post

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s