Sort on size
-
I have a meta custom field “x” and a meta custom field “y”.
I want to build a page that shows posts sorted on size.
I can do this on the “x” (by using ‘meta_key’=>x and ‘orderby’=>x)
But how can i order it on x*y (AND sorting on the numeric value and not the text value) do I need to pre process it first?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Sort on size’ is closed to new replies.