Software Engineering in WordPress, PHP, and Backend Development

Tag: WordPress (Page 219 of 219)

Articles, tips, and resources for WordPress-based development.

Create a WordPress Upload Meta Box

This post was updated on March 22, 2013. Please review the code changes below.

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.

Continue reading

Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑