I'm new to php and trying to output the highest value post from star ratings using:
[Code moderated as per the Forum Rules. Please use the pastebin]
Currently it displays
Highest Rated Restaurant: RestaurantName1 10
Highest Rated Restaurant: RestaurantName2 18
Highest Rated Restaurant: RestaurantName3 27
If i could create a custom 'orderby' query I could also order by 'ASC' and limit posts to 1.
But how do I create a custom orderby query or am I going in totally the wrong direction here?