How to order results by date and meta key?
You could do this by sorting on a calculated factor. Dividing the rating by the days gives a good starting point: rating/days = factor (e.g. 15/6 = 2.5 or 11/3 = 3.6) You can balance this to your needs by multiplicate the variables (rating and day) with any factor you like. There are to ways … Read more