Linux 软件免费装
Banner图

Media Shelf – Media Library Folders

开发者 jeanswiegers
更新时间 2026年10月29日 01:27
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media library folders media categories folders media folders organize media

下载

1.0.0

详情介绍:

Media Shelf adds a folder panel to the WordPress Media Library, so you can organise images, videos and documents into media folders and find them again in seconds. Files are filed with real WordPress taxonomies, so nothing moves on disk and URLs never change. Every folder feature is free: unlimited folders and subfolders, folder colours, drag and drop, and the panel in every media dialog. Media Shelf is not affiliated with or endorsed by the authors of Enhanced Media Library, FileBird, Real Media Library or Folders. Source code The JavaScript in build/ is compiled with @wordpress/scripts. The uncompressed source is in the src/ folder of this plugin, with package.json. Run npm install && npm run build to rebuild it.

安装:

  1. Install and activate Media Shelf from Plugins → Add New.
  2. Open Media → Library. The folder panel is on the left; click "New" to create your first folder.
  3. Optionally, visit Media → Media Shelf to choose where the panel appears, set the drop behaviour, or import from Enhanced Media Library.

屏幕截图:

  • Dragging a selection of files onto a folder.
  • The right-click menu, with folder colours.
  • Creating a subfolder inline.
  • Searching folders.
  • The folder panel in the list view.
  • The folder panel in the block editor's media dialog.
  • Settings.
  • Right-to-left layout.
  • One-click import from Enhanced Media Library.
  • Deleting a folder keeps its files.
  • The panel collapsed.

常见问题:

Does it create folders on disk?

No. Folders are WordPress taxonomy terms, which is metadata only. Files and their URLs stay exactly where WordPress put them.

Can a file be in more than one folder?

Yes. Hold Alt (Option on a Mac) while dropping, or use "Also add to folder…" in the list view. You can also make Add the default in the settings.

What do the numbers next to folders mean?

They are the number of files directly in that folder. Files in subfolders are counted in the subfolder.

Switching from Enhanced Media Library

Enhanced Media Library's categories are ordinary WordPress taxonomies, so nothing has to be copied or converted:

  1. Keep Enhanced Media Library active for now and activate Media Shelf.
  2. On the Dashboard, Plugins or Media screen, Media Shelf shows a notice listing the taxonomies it found. Click "Import now" (or "Review first" to see them under Media → Media Shelf).
  3. Your media categories, and any extra taxonomies you created in Enhanced Media Library, appear as folder sets in the panel, with every file assignment intact.
  4. Deactivate Enhanced Media Library. Gallery and playlist shortcodes that filter by its taxonomies, such as [gallery media_category="5"], keep working.
Media Shelf only takes over folders and categories. Enhanced Media Library's other settings, such as its MIME type options, are not imported.

Does it work with page builders and the Classic Editor?

Media Shelf extends WordPress's own media dialog, so it appears wherever a plugin uses it. It is tested with the Classic Editor plugin (Add Media and Featured image) and with Elementor's image controls.

Does it work on multisite?

Yes. Network-activate it or activate it on individual sites. Each site has its own folders and settings. When the plugin is deleted, the clean-up runs on every site.

What happens to my folders if I delete Media Shelf?

By default they stay in the database. If you tick "Delete Media Shelf's folders when the plugin is deleted", folders created by Media Shelf are removed. Files are never deleted, and imported Enhanced Media Library sets and post categories are always kept.

Is there a Pro version?

Yes, as an optional, separate add-on (Media Shelf Pro). It adds auto-filing rules for uploads, folder permissions per role or user, a folder gallery block and shortcode, sort options, and ZIP download of folders. Nothing in this free plugin is limited or locked, and it never asks you to upgrade.

Does Media Shelf collect data?

No. It sends nothing anywhere. See Privacy below.

更新日志:

1.0.0 – first public release