Tagged Questions
7
votes
3answers
333 views
How Can I Add the “Insert From URL” Tab to a Custom 3.5 Media Uploader?
I've inserted a WP 3.5 media uploader into a widget by running this JavaScript when a button is clicked on:
var frame = wp.media( {
title : 'Widget Uploader',
multiple : false,
...
3
votes
1answer
1k views
Using the media uploader in a custom plugin
As part as a widget I'm creating, I need the admin to upload an image via the widgets panel
I have the following code under a new class
<?php
function form($instance) {
$instance = ...