Sorting by priority (Custom Fields) Pt. 2
-
Hi all!
I’m currently using this:
query_posts('meta_key=priority&orderby=meta_value&order=ASC');
To sort posts – based on a number inserted in the custom field value. Small problem is that I am restricted to 1-9 as it does not recognize the second digit – ex: “10” is seen as “1”.
is there a way to open that query up to allow for double digits?
Thanks!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Sorting by priority (Custom Fields) Pt. 2’ is closed to new replies.