I used the comment meta to add a simple rating system. The user can post a rate from the comment form from where I added 3 dropdown comment meta.
The rating is working well, reflecting the ratings together with the comment written by the user. My only problem now is this: how can I get the average of all the ratings posted? I need the average to be placed on the post content.
My rating system rates the following:
- Price,
- Packaging,
- Quality.
I want an average for each rate:
- Average Price Rate,
- Average Packaging Rate, and
- Average Quality Rate.
Thank you so much!