[wp-hackers] visually sort ordering "custom post types" for end users
Mike Schinkel
mikeschinkel at newclarity.net
Wed Aug 11 14:44:57 UTC 2010
On Aug 11, 2010, at 10:18 AM, Amit Ashckenazi wrote:
> Now with those custom post types and other “bits of content” that
> don’t necessarily need to be organized by chronologically by date, for
> example: the client has a 100 T-Shirts as custom post type "SHIRT" and
> he wants to set their appearance order.
>
> what approach you suggest taking for letting the editor/admin of the
> site SORT their order?
Hi Amit:
Use custom fields and sort by their meta_values. These should help:
http://codex.wordpress.org/Function_Reference/query_posts#Custom_Field_Parameters
http://codex.wordpress.org/Function_Reference/query_posts#Orderby_Parameters
-Mike
More information about the wp-hackers
mailing list