Linux 软件免费装
Banner图

Shelfwright – Media Library Folders & Categories

开发者 karelialabs
更新时间 2026年11月16日 04:12
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media library media categories folders media folders organize media

下载

1.1.0 1.0.10 1.0.9

详情介绍:

Put your Media Library in folders. Drag, drop, done. Shelfwright adds a folder tree beside the WordPress Media Library. Open a folder to see its files, drag files onto a folder to move them, and upload straight into the folder you are in. Unlimited folders and subfolders, free. Switching from Enhanced Media Library? Enhanced Media Library has not been updated since July 2024, and its filters no longer fit the media dialogs of WordPress 7. Shelfwright is built to take over without any migration: Coming from another folder plugin? Shelfwright finds the folders of FileBird, Real Media Library, Media Library Folders, Folders, HappyFiles, WP Media Folder, Wicked Folders and Media Library Assistant, and imports them with one click, subfolders and all. The other plugin's data is only read, never changed, so you can try Shelfwright without risk. Files already on your server? Media → Import from server adds files that are already on the server (put there by FTP, restored from a backup, or left by another tool) to the Media Library, and turns their folders into Shelfwright folders with the same structure. Coming from Add From Server? Import the folder with the option to also put files that are already in the Media Library into the folders, and they get the structure they never had. Features Shelfwright Pro Shelfwright Pro adds:

安装:

  1. Install and activate Shelfwright.
  2. Open Media → Library. The folder tree is on the left. Click New folder to make your first folder, then drag files onto it.
  3. Using Enhanced Media Library? Your categories are already in the tree; deactivate Enhanced Media Library. Using another folder plugin? Click Import in the tree.
Settings are under Settings → Media → Folders.

屏幕截图:

  • List view with the folder tree, the Folders column and the folder filter.
  • The folder filter in the editor's media dialog, next to the date filter.
  • Folder checkboxes in the attachment details.
  • One-click import from FileBird and other folder plugins.
  • The Folder gallery block: the images of a folder on a page.
  • Media → Import from server: the count before the import, and the folders it will make.

常见问题:

Does Shelfwright move my files on the server?

No. Folders are virtual: a file's address never changes, so nothing on your site breaks. Moving a file between folders is instant.

Can a file be in more than one folder?

Yes. Drag with Ctrl or Alt held down to copy it into another folder, or tick several folders in the attachment details.

What happens when I delete a folder?

The folder is removed; its files stay in the Media Library, and its subfolders move up one level.

I used Enhanced Media Library. Do I need to import anything?

No. Shelfwright uses the same categories, so they are already there. Deactivate Enhanced Media Library once Shelfwright is active, so the two do not both change the Media Library.

What happens to my folders if I delete Shelfwright?

They stay, so you can reinstall or switch back to Enhanced Media Library. If you want them removed too, tick "Also delete all folders when Shelfwright is deleted" under Settings → Media first. Your files are never deleted.

Who can manage folders?

Anyone who can upload files can create, rename and fill folders. Deleting folders needs an Editor or Administrator.

How do I add files that are already on my server (uploaded by FTP)?

Open Media → Import from server, choose the folder, check the count and click Import. The files are registered where they are, and the sub-folders become folders in the tree. Folders you want to import from outside the uploads folder have to be allowed by the site owner first (see the next question).

Which server folders can be imported?

The uploads folder, and folders the site owner lists in wp-config.php: define( 'SHELFWRIGHT_IMPORT_ROOTS', array( '/home/example/ftp-incoming' ) ); (absolute paths; use 'Label' => '/path' to give a folder a name), or with the shelfwright_import_roots filter. Nothing else can be read, however the address is written, and symbolic links are never followed.

Does the import move, copy or change my files?

Files inside the uploads folder are registered where they are: no copy, no move, no rename. WordPress makes thumbnails next to them, as for any upload; originals of large pictures are not scaled or rotated. Files in a folder outside uploads are copied into uploads/server-import only if you tick the box that asks for it; the originals stay.

What is not imported?

Types WordPress does not allow (PHP, scripts, SVG unless your site allows it) and files whose content does not match their name, empty files, hidden files (names starting with a dot), symbolic links, resized copies WordPress made of another file, files that are already in the Media Library, and names with #, ? or % or invalid text (they would break the file's web address). The count before the import lists each group.

Can I run the import again?

Yes. Files that are already in the Media Library are skipped, so only new files are added, into the folders that match. Tick "Also put the files that are already in the Media Library into these folders" to give older files their folders.

Does it work with large libraries?

Yes. Folders use WordPress' own taxonomy tables and indexes, and imports run in batches.

更新日志:

1.1.0 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0