Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm adding some fields to attachment edit form by add filter to "attachment_fields_to_edit". The added fields work fine but they are not rendered as the order I added them. Is there a way to order the fields?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes there is.

Add css styles for the form or more precisely try to add names in class attribute of the fields. This should help to properly render the order. For this you may want to check the class names of existing fields which was rendered correctly.

share|improve this answer
    
I see. Thanks for the tip! –  Jenny Jul 18 '12 at 9:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.