This plugin provides a solid example for integrating the new media manager workflow into your plugins/themes by showing you how to upload/insert an image file into a text field.
- Copy the
new-media-manager-plugin.php
file into yourwp-content/plugins
directory of your install. - Activate the plugin and navigate to an Edit screen for any page that is published on your site.
- Find the TGM New Media Plugin Settings metabox and enjoy.
There are both development and production JS files. The development file is filled with useful comments, and the production file is minified with no comments.
Just submit a pull request to the master branch if you have any bug fixes or other useful additions.
Got questions or issues? Make sure to post them to the issue tracker on the repo.