[wp-hackers] Custom post type w/ media library upload custom meta

Andy Charrington-Wilden andycharrington at gmail.com
Wed Dec 22 18:55:44 UTC 2010


Hi all

I have yet to find a working solution to have a custom post type with an upload field in it that uses the media library. Does anyone know of one?

I am developing a plugin that at the moment uses it's own table to store info that includes media but I think it would be wise if possible to use a custom post type. Would you agree? It does feel a bit like custom post types are still a little young so maybe I should just stick with a separate table?

I also read that custom post types with meta use a join, which makes sense. However pulling all the info from one custom table would seem to me to be more efficient. Thoughts?

Thank you

Andy


More information about the wp-hackers mailing list