• Resolved rflorescu

    (@rflorescu)


    Hi there! I went through the documentation but can’t seem to find a functionality I’d like to implement in my website with WP-PostRatings. I’d like to have an aggregate ratings shortcode perhaps. I see that I have the total rating score on the admin page, and I went along and looked through the code on how it appears on the admin page. I was able to render the average ratings on a single public post/page. My question to you is, how would I go about if I’d want to have a dedicated page for general reviews and complaints, and allow my customers to rate my services as a whole? I thought I could aggregate all the ratings from all my articles and pages into a single ratings format (average of all ratings), and allow my customers to rate my website/services as a whole that would then add to my average ratings in real time.

    Many thanks in advance 🙂

    Cheers!

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

    (@gamerz)

    I am not sure if this is the plugin you are looking for since it is designed for individual post ratings and nothing else.

    You can get an average of all the ratings by summing all the ratings_score postmeta and divided by the ratings_users postmeta.

    Thread Starter rflorescu

    (@rflorescu)

    Yes, but I want to have an average display dynamically and let the visitor rate on that same average, and update dynamically with the javascript. I guess I can try to code this feature myself.

    On a side note, I thought the plugin is multi-language. I am using WPML for a multi-language website. But the templates are static and don’t support WPML. I guess I’ll have to play around with the code for that as well.

    Thanks for the prompt reply and the support Lester!

    All the best. Cheers!

    Plugin Author Lester Chan

    (@gamerz)

    Yeap because it is template based, it will not support WPML =)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Aggregate ratings’ is closed to new replies.