I need to create a “media uploader metabox” and add it to my custom post type.
I’ve already create normal metaboxes, the function to add to the custom post type and the function to save them, I only need to use the wordpress’ media uploader but I can’t figured out how to do that.
After that I would insert something like “Add more image” that add more metaboxes into the page.
Something like that:
I am working on something similar. This is for a podcast upload meta-box. Returns the url to the file. Here is what I have so far: