説明
Features
- Folder Organization: Create, edit, and delete media folders/categories
- AJAX Filtering: Filters media items using AJAX
- Bulk Operations: Assign multiple media items to folders using WordPress bulk selection (Grid + List view)
- Made for Gutenberg: Full integration with the Gutenberg editor (when inserting media into posts/pages)
- Hierarchical Structure: Support for nested folders (parent/child relationships)
- Lightweight: Plugin was developed with performance in mind
- Non-intrusive UI: Clean and simple user interface and controls that are mobile-friendly
- 100% free: This plugin is free to use, no paywalls or annoying notices
Creating Folders
- Go to Media > Library in your WordPress admin
- Click the “Add Folder” button in the left sidebar
- Enter a folder name and optional description
- Optionally select a parent folder for hierarchical organization
- Click “Save” to create the folder
Organizing Media
Individual Assignment:
- Click on any media item to edit it
- Select a folder from the “Folder” dropdown
- Save the changes
Bulk Assignment (Works in both List and Grid views):
List View:
- Select multiple media items using checkboxes
- Choose a folder from the dropdown in the sidebar’s “Bulk Actions” section
- Click “Assign Selected” to move all selected items to the chosen folder
Grid View:
- Click on media items to select them (they’ll show a blue border when selected)
- Choose a folder from the dropdown in the sidebar’s “Bulk Actions” section
- Click “Assign Selected” to move all selected items to the chosen folder
Managing Folders
- Edit: Click the pencil icon (✏️) next to any folder name
- Delete: Click the trash icon (🗑️) next to any folder name
- Smart Filter: Click on any folder name to filter the media library by that folder
- All Files: Click on “All Files” to show all media regardless of folder assignment
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- MySQL 5.6 or higher
Security
The plugin follows WordPress security best practices:
- Nonce verification for all AJAX requests
- Data sanitization and validation
- Capability checks for user permissions
- SQL injection prevention using $wpdb->prepare()
スクリーンショット
インストール
- Upload the
jt-media-foldersfolder to your/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Navigate to Media > Library to start organizing your media files
Main Media Library
Access via Media > Library in WordPress admin for full folder management capabilities.
Gutenberg Media Modal
When inserting media into posts/pages, the plugin automatically adds a sidebar to the media modal for easy filtering and organization.
評価
このプラグインにはレビューがありません。
貢献者と開発者
変更履歴
1.0.6
- Fixed: “Add Folder” button content alignment on Media Library sidebar
1.0.5
- New feature added: Bulk-assign items from the Gutenberg Media Modal
- Added infinite scrolling for large libraries
- Added toggle collapse for Media Library page
- Allowed media files to be assigned multiple categories
- Security: harden AJAX auth, fix orphaned assignments, strip internal error details
1.0.4
- Fixes for the Gallery block
- Added ability to edit folder names in Gutenberg
- UI improvements
1.0.3
- Fixed issue when editing multiple folder names
- Updates to Gutenberg folder selection field
- Updates to search field
1.0.2
- New feature added: Click & drag folder reordering.
- Security hardening: Added category existence validation, prevented default category manipulation, and improved input sanitization for the folder reordering feature.
1.0.1
- AJAX filtering improvements
- UI fixes for Media Library while in List view
- Mobile improvements
1.0.0
- Initial release
- Folder creation, editing, and deletion
- Bulk media assignment
- Media library integration
- Hierarchical folder structure
- Modern, responsive interface



