You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.
Paul Ryley edited this page Oct 19, 2018
·
2 revisions
Site Reviews allows you sort your posts/pages/custom_post_types that have assigned reviews by their overall rating. This is useful, for instance, if you have products with assigned reviews and you wish to show the ones with the highest rating at the top of the page. Site Reviews uses an bayesian algorithm to determine the ranking.
Here is an example of how to make a WordPress query to sort a custom post_type called "product" by rank: