[wp-hackers] Custom post-type post list ordering

Lox lox.dev at knc.nc
Fri Jul 16 01:16:49 UTC 2010


I have a nice custom post type with custom meta field. One of those is
a mysql datetime string (2007/09/12 12:45)

I have added the column date to my custom post-type list. Now what I
wish is to be able to order that list:
1) setting a default ordering based on that datetime meta data
2) being able to order using other columns by clicking the column header

How can I achieve that ?


lox.dev at knc.nc

More information about the wp-hackers mailing list