1
vote
1answer
119 views

Media upload not working on theme option in WordPress 3.8.1

I have this jQuery code in my plugin to display a media box preferably to upload an image or to pick an image from the media gallery: (function($){ jQuery(document).ready(function() { ...
0
votes
0answers
105 views

WP_Customize_Image_Control is not doing very much

I am trying to add a logo option. The section and the option shows up under Appearance - Customize as expected. It offers me to upload an image. I do that. The image gets uploaded, but the option ...
-1
votes
1answer
41 views

Bring up the media uploader on click

In my theme's options page. I want to have a textfield where a user can enter a http path to an image. and have a button beside it which brings up the media uploader (library) where a user can ...
0
votes
2answers
2k views

Upload images - Theme options

I'm using this great [tuts+ tutorial][1] for creating theme options page. It works great for me be beause I need to change background images of divs via css. It works great with one image but I dont ...
0
votes
1answer
394 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
3k views

How to save Uploaded image in custom option panel?

I'm trying to add a custom option panel to a new template following a tutorial found on NetTuts. I saved all the code for the option panel inside a file called optionpanel.php (LoL) and everything is ...
-2
votes
1answer
407 views

Can't manage to display an uploaded picture (uploaded from a custom button) in the front end

I followed this tutorial in order too add a custom upload button in the Wordpress admin. It displays the picture you just uploaded right after saving: The problem is that I can't manage to display ...
0
votes
1answer
2k views

How to add an upload image button (just like the one in the Custom Header) in the Theme Options I just created?

I used the following code in order to add a Theme Options panel in my Wordpress admin: <?php $themename = "Nettuts"; $shortname = "nt"; $categories = ...
0
votes
1answer
656 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 ...
1
vote
2answers
4k views

Uploading files in admin panel?

I want to allow my users to upload files in admin panel, but I'm not sure where should I upload these files and how the script should look like? <p>Please provide link to a file or click ...