WordPress.org

Plugin Directory

Custom Upload Dir

Keeps your uploaded files organized in smart folder structures.

WordPress allow you to put uploads in year- and month-based folders. Custom Upload Dir is more flexible. You can construct paths from variables like post title, category, post author, post date and many more.

I created Custom Upload Dir ensure my file system is always mirroring the site structure. This ensures I can always find files manually when needed. It also simplifies backups and platform migrations.

The screenshots might help explain.

If you value my plugins, there's several ways you can help me out;

Any help is greatly appreciated. Thanks!

//Ulf Benjaminsson

Changelog v. 3.4.2 (2015-03-16)

  1. Added filter 'cud_generate_path' so you can easily adjust the path with any variable you want.
  2. Added %mime_type% to sort files by mime type
  3. Added %author_role% to sort files by author role.
  4. Coming: support for per-post-type settings. Eg: every post type can have their own rules for where to place uploads. Currently missing the admin interface. If you feel like helping out, let me know.

Changelog v. 3.4 (2013-02-09)

  1. Added %file_ext% to sort by file type
  2. Added tentative support for uploads from WordPress apps.
  3. Removed setting for "Base upload folder" as WP core no longer exposes this
  4. Cleared out some PHP error on the admin page
  5. Fixed leaking CSS on admin page

Changelog v. 3.3 (2011-12-18)

  1. Support for WordPress 3.3
  2. Support for tags and categories
  3. Support for custom taxonomies
  4. Added %current_user%, %permalink%
  5. Added all permalink tags
  6. Added test-function to admin page

Older changelogs moved here.

Requires: 3.9 or higher
Compatible up to: 4.1.5
Last Updated: 2015-3-16
Active Installs: 6,000+

Ratings

4.6 out of 5 stars

Support

1 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2
100,4,4 100,1,1 100,1,1
100,1,1
33,3,1
100,1,1
100,5,5
0,1,0 75,4,3
0,2,0 100,1,1 100,1,1 100,2,2
100,1,1
100,2,2
100,3,3
100,3,3
100,1,1
100,3,3
100,1,1
50,2,1
100,2,2
100,1,1
100,1,1
0,1,0
100,1,1
100,1,1 100,2,2