Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to find a system to upload some kind of media in a custom folder. I want to keep all uploads in default wordpress folder and create a custom folder just for videos.

So i would have the following folder structure:

- wp-content
  - uploads
    - year
    - month
  - videos
    - category-one
    - category two

In addition i would like that the files stored in this new folder should be listed in media library.

share|improve this question
    
Researching the site is always worthy: wordpress.stackexchange.com/q/47415/12615 –  brasofilo Mar 26 '13 at 10:27
    
Ok, you wrote that you adapted functions of this plugin: wordpress.org/extend/plugins/custom-upload-dir Which file of this plugin you modified? in which part of the file you placed that code? –  Salvatore Dibenedetto Mar 26 '13 at 12:01
    
Don't remember which file... The code I posted is autonomous, see: wordpress.stackexchange.com/q/73031/12615 –  brasofilo Mar 26 '13 at 12:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.