I have been trying to order posts from one category in desc or asc order depending on a numerical value in a custom field.
I believe that wordpress 3.0 have orderby=meta_value_num implemented which should order post using the values in a custom field by-passing previous problems due to sql considering custom field values as strings and not integers.
This is the query I am using:
But I do not get the posts ordered as supposed when using this query.
- The topic ‘Order posts by Cat and numerical Custom Fields’ is closed to new replies.