Support » Plugin: GoodReviews » Average rating all editions of a book

  • Resolved jorisvanriel


    Hi there!

    Great plugin, good work!
    Working with ISBN works fine, gives the same ratings as shown on Only sometimes, for instance a dutch book ISBN gives 4 stars based on 4 ratings, while the book has come out in 100 editions and goodreads total rating for all editions is 4 stars based on 43291 ratings. Is there a possibility to show the total rating of all editions? That would make a great extra statistic figure on the website. (not that dutch readers don’t exist, but still..;).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jhanbackjr


    Hi, jorisvanriel.

    Thanks for using GoodReviews. I’m not sure what you’re requesting is possible directly from the Goodreads API (which is where GoodReviews pulls the average rating). However, I’m planning to implement some improvements to the average rating in the next revision. I’ll take a deeper look into supporting your feature as I implement those changes.

    Thanks again for using GoodReviews!




    Hi jhanbackjr,

    I looked into it. Seems that the plugin pulls average rating from WORK (which is based on all editions) and also fills stars based on that, while ratings-count is based on a single ISBN. There are 2 ratings_count in API, one in Work en one in Book. On line 302 (stars&ratings) in goodreviews functions.php i changed $Result->book->ratings_count into $Result->book->work->ratings_count. Now it gives the ratings_count (WORK) from all editions.

    Thought I’d share the info for next revisions.


    Plugin Author jhanbackjr


    This feature has been implemented in the next version of GoodReviews, which will be released in the coming weeks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Average rating all editions of a book’ is closed to new replies.