Custom post type: meta box for adding an image?
-
Hey all, I’m learning custom post types, custom taxonomies, and custom meta boxes at the moment. Getting the hang of things but I hit a roadblock and have been googling for hours with no luck.
Right now I’m learning how to make meta boxes. I want the user to be able to add a product image. I know WP now has this new media uploader, but I want to be able to make things as simple, straight-forward, and restricted (fool-proof) as possible. Furthermore, I’ll need to take that image they upload it, and display it in the relevant [name]-single.php. So I need the hook. How do I get this?
Sorry for what seems like a very simple question. If anyone could even just point me in the right direction for a tut or something, that’d be wonderful. Thanks for your time!
- The topic ‘Custom post type: meta box for adding an image?’ is closed to new replies.