Custom Document Folder
Organize document uploads by automatically directing specific file types to custom folders based on their extensions.
by Per Soderlind · github.com/soderlind/custom-document-folder · website
★ 3stars
51release downloads
809composer installs
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/soderlind/custom-document-folder/releases/download/1.1.1/custom-document-folder.zipAlso on Packagist as soderlind/custom-document-folder:
composer require soderlind/custom-document-folderFrom the readme
Custom Document Folder
Organize document uploads by automatically directing specific file types to custom folders based on their extensions.
Description
Custom Document Folder automatically organizes your WordPress media uploads by directing specific document types to dedicated folders. Instead of having all files mixed together in date-based folders, you can configure which file extensions should be uploaded to their own organized folders.
Features
- ✨ Modern Settings Interface - Beautiful grid-based UI with search functionality
- 📁 Category Organization - Extensions grouped by type (Documents, Images, Video, Audio, Archives, etc.)
- 🔍 Live Search - Filter extensions and categories in real-time
- ⚡ Bulk Actions - Select/deselect all visible extensions at once
- 🎯 Collapsible Categories - Media categories (Audio, Images, Video, Other) hidden by default
- 🔢 Live Counter - See how many extensions are selected
- 📂 Custom Folder Routing - Each extension gets its own folder (e.g., /pdf/, /docx/, /xlsx/)
- 🔒 Security Focused - Input sanitization with sanitizetextfield()
- ✅ MIME Type Validation - Only allows file types that WordPress already permits
- 🔄 Backward Compatible - Existin
Read the full README on GitHub →