Plugin Directory

Custom Upload Dir

Automatically sorts uploaded files according to your site structure.

Download Version 3.3.2

WordPress allow you to put uploads in year- and month-based folders. Custom Upload Dir is somewhat smarter. 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 plattform migrations.

The screenshots might help explain.

If you value my plugins, please help me out by Flattr-ing them! Or perhaps send me a book? Used ones are fine! :)

//Ulf Benjaminsson

Changelog v. 3.3.2 (2011-12-29)

  1. Updated init to use WordPress API properly
  2. Removed dead code

Changelog v. 3.3.1 (2011-12-27)

  1. Fixed poor sanitization of post slugs (%post_name%)
  2. Added %post_parent%
  3. Fixed settings not always initializing

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

Changelog v. 3.0.3 (2011-08-04)

  1. Logic cleanup

Changelog v. 3.0.2 (2011-07-29)

  1. Fix for post_author not working
  2. Fix timestamps from the media uploader (thanks; alx359)

Changelog v. 3.0.1 (2010-11-01)

  1. Fix for "undefined function get_userdata()" (thanks somatic!)

Changelog v. 3.0 (2010-10-21)

  1. Rewrote entire plugin for WordPress 3
  2. A slew of new placeholders for building paths with
  3. A new interface to allow arbitrary strings in path
  4. Error messages when uploading to un-named or un-dated posts
  5. Added translation support

Older changelogs moved here.

Author: ulfben

Requires: 3.0.1 or higher
Compatible up to: 3.3.1
Last Updated: 2011-12-29 Downloads: 10,959

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(19 ratings)

Compatibility

+
=
Not enough data

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

Log in to vote.

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