I know the loop and I know how to build plugins and I also know the templating system. But I want to ask first for the best approach for this task:
There are Posts in my wp installation with a tag reviews. They have a custom field called “rating” which contains numeric values like “4” or “6.5”.
I want to list them in the same way my archiv is being list but sorted by the highest rating. Best thing would be a nice url like /tag/reviews/sorted/hightest or something like that.
How do I do this? Do I make a page with a custom loop? A plugin? Is it build in feature? Is there a plugin for that?
- The topic ‘Best Practise: list posts with tag "reviews" sorted by a numeric custom_field?’ is closed to new replies.