WordPress makes it pretty easy to capture additional information with your posts through the use of custom meta boxes. Adding checkboxes, select options, textareas, radio buttons, and other input elements are easy.
But giving users the ability to upload files from a post screen requires a little more work.
If you’re not interested in tapping into the Media Uploader, then here’s how you can programmatically create a WordPress upload meta box.

