The Wordpress upload directory. [Read more about `wp_upload_dir()` here](http://codex.wordpress.org/Function_Reference/wp_upload_dir).

learn more… | top users | synonyms

0
votes
0answers
60 views

Get Image Directory for Multisite & Single Site

I'm following the code from this example to set a placeholder image for WooCommerce. /* * goes in theme functions.php or a custom plugin. Replace the image filename/path with your own :) * **/ ...
0
votes
0answers
57 views

Import images into Media Library - from server location /wp-content/themes/customtheme/images/

Is there any Code to import all images found in a folder and its sub-folder and import all images into media library ? for example - i want add my theme sub-folder's images imported into wordpress ...
0
votes
0answers
56 views

Limit files uploaded per folder

I upload over thousands of images everyday and I want to limit the number of files that can be stored in a folder cause it's not good to have like 5000 files in a folder because it increases the load ...
0
votes
0answers
152 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
0answers
43 views

Change default upload location on mulitsite

Ive set up a wordpress multisite, but would like to change the default location it uploads media to a remote server, but keeping the same folder structure, as in each blog has a folder. Is this ...
0
votes
1answer
404 views

Organizing uploaded media with wp_insert_post() and wp_handle_upload according to time parameter

I'm retroactively creating a post with wp_insert_post() and attaching a featuring image to it. I need the image to go into the folder that corresponds to the post's publishing date. I'm using time ...
0
votes
1answer
41 views

Is it possible to set the upload location to a different server?

Our university has given our student society a 1GB portion of storage to be used for our website. We're low on their bandwidth priority however so it did not work speedily with Wordpress. I managed ...
0
votes
2answers
520 views

Moving existing media items to new upload path structure not updating full URL path

Have been developing a site and noticed that all of the media files were being saved in the default WP year/month/day rule in the wp-content/uploads directory. I decided to change this to assets and ...