query_posts sorting by custom field leaving out those missing that field
-
i am successfully sorting posts by custom field “year” using
query_posts($query_string . '&meta_key=Year&orderby=meta_value_num');
however this omits any posts where i might have forgotten to add that custom field. how do i have those posts simply show up at the bottom of the sort?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘query_posts sorting by custom field leaving out those missing that field’ is closed to new replies.