Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

is it possible to use add_meta_box or similar for the attachment edit page?

Need to add quite a lot of custom fields/functions.

function reference says no but seems odd that we can't or that there's no alternative for attachments.

best, Dan.

share|improve this question
not meta box, but you can add fields .. would that solution help you ?? – krembo99 Jan 24 '12 at 13:38
yeh i've used the add fields before but after adding a few its starts to get messy and want to make the options available stand out for the client to see. Will keep looking... – daniel Crabbe Jan 24 '12 at 13:57
can you specify or give example of what fields you need there ? maybe there is another solution ? – krembo99 Jan 24 '12 at 15:21
basically there's a group of functions/options for video attachments that i want to use via the attachments edit page. Choose thumbnail for video and display it, choose low, med & high versions of the video. Video preview and several others small functions. Its doable with the fields option but i wanted these options to stand out or be contained in a meta box. – daniel Crabbe Jan 24 '12 at 15:26
I understand . well, you can achieve that with custom form code and some css. I do not know of a function to add a proper meta-box to the upload screeen. also - did you think of the option of making a normal meta-box and have the film upload from there instead of altering so much the upload screen ? – krembo99 Jan 25 '12 at 12:39
show 1 more comment

closed as too localized by toscho Dec 27 '12 at 23:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.