WordPress.org

Ready to get started?Download WordPress

Forums

kk Star Ratings
Manually list results on a page (2 posts)

  1. mchiampa
    Member
    Posted 1 year ago #

    First of all, thank you so much for this plug in...it works great!

    I currently have posts being rated successfully, and I am wondering how to show those results in other areas. I don't simply want to list the top rated, but rather be able to use the rating results whenever I mention that post later.

    e.g. I would like to be able to write "People seem to like Book XYZ (4.5/5) more than book ABC (3/5)" where the 4.5/5 and the 3/5 would update automatically. Showing the stars would be great too!

    Thanks!

    http://wordpress.org/extend/plugins/kk-star-ratings/

  2. mchiampa
    Member
    Posted 1 year ago #

    I was able to get the stars and legend to appear in another area with linked results, but the duplicate rating doesn't stop multiple ratings from one ip, so although the rating is locked on the post page with orange stars, on the other page it is open. The other page's rating is initially locked, and shows the orange stars with a vote, but when the page refreshes it goes back to unlocked and yellow stars. What am I doing wrong? (my coding knowledge is limited which is probably obvious)

    Here is my code on the other page:

    <div class="kk-star-ratings bottom-left lft" data-id="316"><div class="kksr-stars kksr-star gray"><div class="kksr-fuel kksr-star yellow" style="width: 0px; "></div><!-- kksr-fuel --></div><!-- kksr-stars --><div class="kksr-legend" style="display: block; ">What is your rating?</div><!-- kksr-legend --></div>

    I would be willing to donate if I can get this working! I basically have a short list of many of my posts on its own page and I want a user to see what the avg. ratings are and which ratings they have submitted and which they haven't (i.e. some would have orange stars and some would be yellow)

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic