1
vote
0answers
13 views

Upload File Metabox - Empty Files on POST

I'm creating a simple / generic upload file metabox. For some reason when I upload a file and update my post, it doesn't pull my uploaded file along with it, the $_FILES array will be completely ...
-1
votes
0answers
42 views

Woocommerce type product image gallery in post

i am just trying to create product gallery box like woocommerce. i just find the code from the woocommerce and tried to create product gallery images uploaders. unfortunately it is not saving then ...
0
votes
1answer
61 views

Add metabox with media uploader in a custom post type

I need to create a "media uploader metabox" and add it to my custom post type. I've already create normal metaboxes, the function to add to the custom post type and the function to save them, I only ...
0
votes
0answers
56 views

wordpress multi image upload problem

I had a great tutorial at http://themefoundation.com/ .I followed it and it works for me .Now about image uploader,it works only for one metabox.Cann't it be for multiple meta boxes?the code ...
0
votes
0answers
27 views

Wordpress CPT Upload Audio Files to wp-content/upload/audio

I'm working on a custom post type for my blog that will read files in the directory specified and create a post for that file. I also want to use the wp upload handler in my custom post type but I ...
0
votes
0answers
46 views

Uploaded images wont display properly if they have spaces in their filenames

I'm using the Meta Box plugin to create some custom meta boxes for a client's site and I'm having an issue with uploading images. If I try and upload and image with a space in the filename (sample ...
0
votes
0answers
84 views

Upload button in metabox not working

The upload button is not working when put inside javascript, but it works when I put it outside the javascript. /* -----------------------upload button------------------ */ function ...
1
vote
3answers
747 views

Adding upload button in metabox

I want to add upload image button for the images and retrieve url. Can someone pls help me, i have been trying this for quite a few days. I'm using code from this thread Create more Meta Boxes as ...
0
votes
1answer
145 views

Insert media button will always add into the same tinyMCE editor

I have an issue with the insert-media button. I have 2 instances of tinyMCE with both Add Media button. When I add a media in one of the two tinyMCE, all my media will go in this after, whatever which ...
0
votes
0answers
376 views

How to upload images as custom field with meta box?

With this sample of code I want to demonstrate that, my meta boxes are working well, entering data into database (postmeta) with the post, except the image files. They are passing the filenames only ...
1
vote
2answers
449 views

Wordpress 3.5 Media Uploader - Only allow 1 upload and certain file types

I am trying to include the new WP Media Uploader in a Custom Meta Box. I found this tutorial: http://codestag.com/how-to-use-wordpress-3-5-media-uploader-in-theme-options/ However i am looking for ...
1
vote
1answer
1k views

Customize Wordpress Media Upload and New Media Manager Menu in add post Metabox

I am using Wordpress Media Upload (< 3.5) and Media Manager (>=3.5) in metabox as an upload field, and need to customize the menu so that they only have upload and media library functionality ...
0
votes
1answer
733 views

Invalid file type when using wp_upload_bits to upload PDF to a custom post type

I'm trying to upload a PDF file for a custom post type called Products using wp_upload_bits. I'm only doing this in my wp-admin. I don't want these files added to the media library, I just want to ...
1
vote
1answer
429 views

Checking if $_FILE isset for an array of file upload metaboxes

I have been struggling with this for almost 2 days with no avail. I have a custom post type of PRODUCTS that has a group of metaboxes for uploading PDF files in the wp-admin. I've created the ...
1
vote
1answer
266 views

Metabox with multiple fields added by user and upload box

I'm trying to build system, where user can add as many fields as he needs to the post. I'm using code from this thread. Everythings works fine, except I can't get my upload working. Here's code I've ...
1
vote
2answers
729 views

Setting multiple image urls using Wordpress' Media Uploader

I have set up a meta box to hold additional information that my client can put in, and it will appear in a different section of the page. The page shows up at ...
0
votes
2answers
785 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 ...
3
votes
2answers
757 views

Remove tabs from media uploader for a CPT

I use the media uploader in a own meta-box for a custom post type called "premium". The Thickbox opens after a click of the button in the meta-box and files can be uploaded. Now I want to remove the ...
0
votes
1answer
558 views

Metabox image upload value

I am using meta boxes from WP tuts this tutorial http://wp.tutsplus.com/tutorials/reusable-custom-meta-boxes-part-3-extra-fields/ everything works fine but I don't know ho to call value from image ...
1
vote
2answers
5k views

Upload multiple images in a custom metabox

I am new to theme development. I am trying to create a custom metabox that has the ability to upload a image. I am doing this on a page not a post. I want to output the images (multiple) onto the page ...
1
vote
2answers
703 views

How to Create an Image Upload Box for Custom Posts?

Is it possible to have an image upload box in a Custom Post Type? I would like the user to be able to upload specific images just for the CPT.
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, ...
2
votes
2answers
934 views

Adding uploaded images to editor from metabox instead of default popup uploader

I need to find plugin or create listing of all uploaded images for some post in custom metabox. And i can click to thumbnail for add image to editor in custom format. I downloaded a lot of photos to ...
0
votes
2answers
501 views

Create a custom post type for a photo post

I am looking for a way to create a Photo Post type. Basically a post that is a title and a single image. Where I am getting stuck is the actual attaching an image to a post. I would like to have an ...
7
votes
6answers
7k views

Add a Meta Box for uploading a SECOND Featured Image?

I'd like to add a meta box to my posts and page editor that will allow me to upload an image and use it as sort of a SECOND featured image. The idea is that my client will be able to upload an image ...
2
votes
1answer
1k views

Metabox image upload and custom field

Is it possible to a) upload image in meta box (not using default WP image uploader) and then b) get the path to uploaded this way image in a custom field?
1
vote
1answer
621 views

I need a Simple image uploader with a simple screen. WP default has too many options.

Hi guys I'm looking for a metabox type plugin that can upload ONE image into the post, that works with custom post types. I don't want to use the default WP uploader because it has too many options, ...
2
votes
1answer
815 views

wp_handle_upload error “Specified file failed upload test” but still creates attachment?

Having a bit of trouble with an image upload custom meta box. What happens is the uploaded image is created as an attachment but the wp_handle_upload seems to kick back the error "Specified file ...
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 ...
0
votes
1answer
307 views

Upload attachment from external site

For example, we have some image on the external site: http://site.com/image.png How do I upload this image to my wordpress as an image attachment by php? Image should be copied to my uploads ...
0
votes
1answer
3k views

I'm using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box

I'm using a very lightweight plugin called WPAlchemy that lets me rapidly create meta-boxes for posts and pages. I've ben able to convert <textarea>'s into rich, TinyMCE's editors just fine. ...
0
votes
1answer
538 views

Duplicate Custom Header Functionality into the post edit screen

Within wordpress 3.0 you have the ability to create a custom header image with a very slick built in cropping tool. I found out that the code being utilized for this is located within ...
4
votes
3answers
1k views

Attach Files Metabox

Does anyone happen to know how to create a simple "attach/browse" button that can be placed into a metabox which upon clicking it would open a lightbox where the user would be able to view all the ...