i have a rating system in comments, for each comment user can rate 1-5 Stars.
Now , i want the average of all ratings in comments of that post to show.
How can i do that.
Here is the link to the code file related to My rating System. Current Users can rate and comment. But i want the average of all comment ratings in that post. And this is a custom Post type.
check this link for the code related to rating used in the site.