Tagged Questions
2
votes
1answer
83 views
Extend 3.5 media uploader plugin to change button name
I have followed a tutorial on how to upload images using Wordpress' 3.5 media uploader. All is well. I would just like to change the text of the actual upload button "Insert Into Post" to something ...
10
votes
4answers
4k views
Using Wordpress 3.5 Media Uploader in meta box?
Is this possible to do?
I love how the new uploader works. I'm guessing it has to do with a jQuery call like the other way did.
EDIT
This is the code I am currently using
...
0
votes
2answers
4k views
How do I Upload/Import Form (Input) Files via. Ajax function?
I keep running into an issue getting the file(s) added/switched to ajax so that the server ajax handler can deal with the rest. How can I get the $_FILES to be passed the same as with the default ...
1
vote
0answers
243 views
Uploading PDF using Media Uploader
I have been using a custom code to upload images to Wordpress using custom metaboxes. Here is the code:
<script type="text/javascript">
jQuery(document).ready(function( $ ) {
var ...
0
votes
1answer
212 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
3answers
2k views
How to handle multiple instance of “send_to_editor” js function
Here is what I am doing:
I Added wordpress media upload with iframe popup when a button or link clicked. And with click of insert into post the image url placed on a textbox.
send_to_editor() ...
0
votes
2answers
684 views
How to use media upload on metabox post page without breaking TinyMCE?
I'm using the following code for upload in multiple mextaboxes in a post or page admin section. Works for metaboxes but breaks the TinyMCE insert image. I want to know please how I can achieve this ...
0
votes
3answers
1k 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
2answers
886 views
Combining media queries with image sizes
I have a set of image sizes for WordPress that look like this:
add_image_size('1039', 1039, 697);
add_image_size('960', 960, 644);
add_image_size('800', 800, 537);
add_image_size('768', 768, 515);
...
0
votes
1answer
2k 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 ...
0
votes
1answer
273 views
Is there a function to list all uploaded images? How can I add one?
Is there a PHP function that will return an array of all of my uploaded images? Or, failing that, how bout just my uploaded files?
The end goal is to display a slideshow on my homepage: have it ...
0
votes
2answers
567 views
Why won't this jQuery code work?
Tearing my hair out a little bit here! I'm trying to create multiple image-selection boxes so users can upload as many images as they like to the species profile they've created.
I'm using the ...
0
votes
1answer
425 views
Yoast SEO breaking media upload
I have a very simple site that I've modified a very small amount. After installing the Yoast SEO plugin I found that it broke the in post media attach/upload. I'm about 80% sure it's related to Jquery ...