I want to add some custom fields to allow a user to select items from the Media library for the custom post (in the add/edit view)
Is there a way to do this?
|
I want to add some custom fields to allow a user to select items from the Media library for the custom post (in the add/edit view) Is there a way to do this? |
|||
|
|
|
My answer will be in the form of links. The WPAlchemy meta box class supports this: http://www.farinspace.com/wpalchemy-metabox/ + tutorial http://www.farinspace.com/wordpress-media-uploader-integration/ A tutorial on how to do it, mainly javascript: http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/ |
|||
|
|
You could add
to a metabox |
|||
|
|