[wp-hackers] Editing the Posts List view for Custom Post Types
Simon Hamp
simon at flipstorm.co.uk
Thu Sep 30 22:05:25 UTC 2010
Hi all,
Does anyone know of an 'easy' way to customise the Posts List (wp-admin/edit.php) for custom post types?
I'm thinking adding extra columns, sorting.... that kind of thing. But I don't want to change it for all post types, just my custom ones.
A complex example: showing a list of custom taxonomies that have been associated with each post in the table view.
Really appreciate any input.
Regards
Simon
On 2010-09-30 22:56:18 +0100, wp-hackers-bounces at lists.automattic.com Wrote:
>Hi all,
>
>I have a custom feature in a plugin that can be supported by post
>types by calling add_post_type_support( 'post_type',
>'my-super-feature' ).
>
>I'd like to get a list of the post types that support
>'my-super-feature' so I can add a meta box to each of the supported
>post type screens, but there doesn't seem to be a function that
>returns all the post types that support a certain feature. I thought
>we had something like get_supported_post_types('my-super-feature') but
>I can't find anything like that.
>
>Any suggestions?
>
>John
>_______________________________________________
>wp-hackers mailing list
>wp-hackers at lists.automattic.com
>http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list