FAQ about Ratings

1. How do I reset ratings/scores on a page?
Was this FAQ entry useful?

You cannot reset an existing rating or score counter. However, you can assign a path attribute with a unique value to the ratings on a page, and this will create a different instance of ratings/scores:

<div class="js-kit-rating" path="/unique/new/path/"></div>
2. My item has received plenty of ratings/scores, but it does not show up in the Top or Hot tabs under the (i) button. What is wrong?
Was this FAQ entry useful?

To participate in mini-navigator's (the "(i) button") output, the Ratings widget needs to have all path, permalink and title attributes to be defined:

<div class="js-kit-rating" path="/unique/item/id/"
     permalink="https://mysite.com/permanent/link/to/page.html"
     title="My Item's Title"></div>
3. How can I get Ratings working on Blogger?
Was this FAQ entry useful?

The process is as follows:

  1. SAVE AND BACK UP YOUR TEMPLATE (Customize -> Layout -> Edit HTML -> Download Full Template).
  2. Under "Edit Template" subtitle place a checkmark against "Expand Widget Templates".
  3. In the template locate the <div class="post-header-line-1"/> or similiar
    and insert the following code right after it (and before <div class="post-body">):
<div style="float:left; margin-right:3px;"></div>
<div class="js-kit-rating"
   expr:path="data:post.url"
   expr:permalink="data:post.url"
   expr:title="data:post.title">

</div>
  1. Locate the </body> element in the template and add the following before it:
<script src="https://js-kit.com/ratings.js"></script>
4. How can I get Ratings working on WordPress Server?
Was this FAQ entry useful?

For WordPress server, locate your template (index.php) in your themes directory. Edit index.php and add the following code after "class=post":

<div class="js-kit-rating" style="margin: 0px"
   permalink="<?php the_permalink(); ?>"
   path=">?php the_permalink(); ?>"
   title="<?php the_title(); ?>"
>
</div>

Next edit footer.php, locate </body> in the template and add the following before it:

<script src="https://js-kit.com/ratings.js"></script>