Creating a list of posts ordered by the values present in a custom field
Hello, good community!
I have spent some time reading and searching but I still didn’t find a way to solve this problem.
For each post I have custom-fields with numeric values. I would like a way to create a page with a list of posts ordered (in ascending or descending order) by the value of that custom-field.
I found this plugin http://www.christianschenk.org/projects/wordpress-list-posts-custom-field-plugin/ that makes the list but doesn’t have (yet) the ability to order the posts by the value in the custom-field (just by date, title,..)
There must be a way to do this because I find it very useful to present a list of the posts of a blog ordered by rating, for instance.
In my blog (it’s a movie quiz – http://www.iknowthatmovie.com) I have three numeric values for each post:
1) classification of the quiz’s difficulty as voted by users
2) number of users who have seen that film
3) time to solve the quiz (in minutes)
I would like to create pages with a list of posts oredered by these numeric values.
Can anyone help me?
- The topic ‘Creating a list of posts ordered by the values present in a custom field’ is closed to new replies.