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

Peter Westwood peter.westwood at ftwr.co.uk
Fri Jul 16 06:46:07 UTC 2010

On 16 Jul 2010, at 02:16, Lox wrote:

> Hello,
> 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 ?

I suggest that you look at this GSOC project which is working on adding sorting to lots of different admin lists


Also talking to scribu directly may gain you some insight

Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5

More information about the wp-hackers mailing list