0
votes
0answers
55 views

Is it possible to upload multiple images via Media Library tab in Thickbox I've created?

I have a meta box upload button and I want to upload multiple images using that button. Firstly I enqueue required scripts: add_action( 'admin_print_scripts-post-new.php', 'mycpt_admin_script', 11 ...
0
votes
1answer
384 views

Custom Text in Media Uploader in a Theme Options Page

I want to replace the media uploader thickbox text only if it's used in the theme options page. If it is used in the Post then I don't want to make any changes. I am trying the following code, but ...
0
votes
1answer
296 views

Custom Jquery in admin breaks media-upload script

I have this part of code which loads custom version of jquery wp_deregister_script('jquery'); wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, ''); ...
2
votes
1answer
906 views

Image uploader with “Set Featured Image” link on front end

I am loading upload-media.php file using thickbox on front end where user can upload images to the post. Question: How to I trigger the upload-media.php so the link "set featured image" shows up on ...
4
votes
1answer
768 views

Thickbox hacking - removing fields

Default (big and ugly) Thickbox I don't like how this Thickbox's page looks at all, I almost never use all these settings fields so decided to get rid off them, at least on pages where I'm uploading ...
0
votes
3answers
2k views

Adding URL of PDF from Thickbox in a Meta Box

I have created some meta boxes of pages on the theme i'm working on. The idea is to have a input field, then a button to upload files. The meta box is working properly. When I click on the button, ...
1
vote
1answer
552 views

How to hook into wordpress admin upload iframe?

I have written a plugin which lets the user upload file attachments for using wordpress as a download site. So I have added a meta box which shows the user the files he has uploaded for every post. ...
6
votes
2answers
1k views

Media upload finished hook

I'm developing a plugin which uses wordpress's thickbox media library to handle media upload and selection. All is well but for the fact that I would like to automatically 'redirect' to the 'media ...
4
votes
2answers
1k views

Using media-upload.php to upload mp3 via custom fields

I'm trying to use the Thickbox file upload dialogue with a custom field to allow the user to upload an mp3. What I want to do is to grab the URL of the uploaded mp3 and save it as postmeta (saving the ...
3
votes
1answer
722 views

Manipulating Media uploader

Ok. Going to try and explain this as best as I can, so bare with me. Anyway, I'm trying to include the default media uploader as a part of my plugin. Currently, I've successfully managed to use the ...
0
votes
1answer
650 views

send information from the thickbox image uploader second tab

in this question i've found how to create a custom tab at the image uploader. this is the code: add_filter('media_upload_tabs', 'my_media_upload_tabs_filter'); function ...
2
votes
1answer
1k views

custom tabs in media uploader

I've managed to add a custom tab to the media uploader, but for some reason it doesn't come with the same layout - it doesn't load the media-uploader-header that contain all the other tabs: ...