That was not the answer to my question
In this plugin
Each post is assigned an average
10 post with 5-star ratings has the same average as 2 post with 5-star ratings
How to list the post with the highest rank
Each review has a rating from 1 to 5. If you are assigning reviews to your posts, then those posts will be given both an average rating of all reviews that have been assigned to it, and a ranking number which is calculated using a bayesian ranking algorithm from the rating number of each assigned review.
If you want to sort your posts or pages by their average rating or their rank, then the answer above applies.
However, if you want to sort your reviews by highest rating, then you have a couple of options:
1. Site Reviews by default sorts reviews by latest to oldest. Sorting by rating becomes less valuable the more 5-star reviews that you have (since reviews are only rated from 1-5 stars). The recommended way to do this is to use the “rating” option on the shortcode. For example, [site_reviews rating=4] will display your latest reviews that are 4-star or higher. Please read the Shortcodes Help page to learn more.
2. For more advanced sorting, please see: https://niftyplugins.com/plugins/site-reviews-filters/
10 post with 5-star ratings has the same average as 2 post with 5-star ratings
How to list the post with the highest rank
Please see the first reply which explains how to sort your posts or pages by rank (not average).
Good day.
The manual says: “The _glsr_ranking meta key contains the page rank determined by a bayesian ranking algorithm”. But the database now has no _glsr_ranking in the _postmeta table.
-
This reply was modified 5 years, 1 month ago by
Kodintsev.
Please update the instruction “How do I order pages with assigned reviews by rating or ranking ?. Or return fields with” _glsr_ranking “.