0
votes
0answers
17 views

Image upload with one size going into a custom directory

I have added several sizes with add_image_size( 'x', y, z );. All those sizes are saved to the uploads directory, which is alright. if ( function_exists( 'add_theme_support' ) ) { add_theme_support( ...
0
votes
1answer
29 views

Primary site file uploads failing, subdirectory subsites upload fine

Pardon the cross-posting (also up at Wordpress.org): We're tearing our hair out here. We have multisite configuration working, subdirectory style. File uploads work to the subsites, but the primary ...
0
votes
1answer
15 views

Can I use the same Folder name as a Multisite Blog?

I have a Wordpress Network site 3.8+ where one of my sites is domain.com/media/. On the root of domain.com, I am wanting to create a folder named "media" to store all uploads. Currently I have this ...
0
votes
1answer
116 views

Correct Syntax for uploading files to custom directory in Wordpress

I have current PHP code that works when attaching files on a form. The files have to go to a certain directory. I know that while attaching in Wordpress I need to use a different syntax. However, I've ...
0
votes
1answer
50 views

Media Upload Directory to MMYY instead of YYYY/MM

Is there a way to change the upload directory's location and format from YYYY/MM (/wp-content/uploads/2013/06) to MMYY (/news/0613)? I've searched everywhere and could not find an answer - in fact, ...
0
votes
0answers
153 views

Change upload directory and url

I am developing a plugin and I changed the upload directory of the v.3.5 media uploader to this: \wp-content\plugins\deixto\cle. I used the following function and filter: function ...
0
votes
1answer
548 views

Upload an image at frontend > Create direction and/or rename filename possible?

I have a form for a non-profit-club, that publish posts + up to 20 images. The image-path will be writen in a custom-field. Images are uploaded. Ok, now i want to rename the pictures or (much better) ...
5
votes
1answer
1k views

Change upload directory for PDF files

I would like to change the upload directory for PDF files only, not for other files. For example, the PDF files would be uploaded to wp-content/uploads/pdf but other files would remain in ...
5
votes
1answer
2k views

Use a separate upload folder for custom post attachment upload

So, i'm trying to find out a way to use two separate upload folders, being the default one wp-content/uploads for general media uploads, and another one say wp-content/custom for one specific type of ...
1
vote
1answer
331 views

more than one upload directory?

Is it possible to have 2 separate upload directories? One in which the resized images are created/stored and another to where full size original images are uploaded. This would let you use the path ...