WordPress.org

Ready to get started?Download WordPress

Forums

Custom Upload Dir
[resolved] Upload per file extension (7 posts)

  1. M Szatkowski
    Member
    Posted 1 year ago #

    Suggest: to divide uploaded files in folders per extension

    http://wordpress.org/extend/plugins/custom-upload-dir/

  2. ulfben
    Member
    Plugin Author

    Posted 1 year ago #

    Not a bad idea. Adding to my list.

  3. M Szatkowski
    Member
    Posted 1 year ago #

    Great!
    Please let me know when you finish ;)

  4. ulfben
    Member
    Plugin Author

    Posted 1 year ago #

    Done.

  5. doriggidy
    Member
    Posted 1 year ago #

    Hello. Great plugin.
    I was just going to email you about this feature.

    I figured it would do a get mime type on the upload and then use something like %mime_type% in the path template.

    That way we could get a /image directory for images, a /video for video uploads, /audio for audio uploads and so forth.

    I was glad you replied to Mariusz...Done... but I can't find it.
    Can you tell me where this is implemented?

  6. doriggidy
    Member
    Posted 1 year ago #

    i found it ...testing it out now. thanks.

    %file_ext%

  7. doriggidy
    Member
    Posted 1 year ago #

    Works nicely, but I think I might like the %mime_type% approach a little better. but thanks very much for this. Great work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.