I want to create a "photography" custom post type which uses attachment's same edit/upload panel. Exact same panels usage for "attachment" post type but with "photography" name. Is it possible?
It seems its impossible with WordPress 3.5 at the moment. I opened an idea for it: http://wordpress.org/extend/ideas/topic/custom-attachment-type Support if you like idea please.
Adding Additional Fields
Save The Data as Custom Fields
Display Attachment Custom Fields
Using the display image credit function
This function can be used anywhere in a plugin or theme. I’ve used the functionality on single.php like this
You can still add the codes in your theme’s functions.php file to make it work.
If you want to display the fields in your attachments template, then simply paste the following codes inside the loop:
If you want to display the fields for your featured image in your archive template or any other template, then simply use: