Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of importing server files into media library by WordPress plug-in

Shulou Source: shulou.com Published: 2022-06-02 04:52:41 11月12日 Update

This article is about how the WordPress plug-in imports server files into the media library. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

How does the WordPress plug-in import server files into the media library?

WordPress's Media library manager can only choose to upload files from the client. Dion Hulse has developed an Add From Server plug-in that supports directly selecting existing files from the server and importing them into the media library. You can download and install it from Add From Server, or you can install it online in the WP background:

Activate after successful installation, you can see an extra Add From Server under the Media menu, you can browse any folder in the site, select the target file, and click Import to import.

Note:

This plug-in only supports WP 2.8.5 or later

This plug-in import operation does not move or copy the original file, but only adds a record in Media and references the past

If you delete the record of the imported file in Library, the corresponding physical file is not deleted. Maybe the author assumes that since it is a reference from Import, then deletion cannot delete the physical file, but sometimes we really wish we had deleted the file, and it would be better if we had an option.

Thank you for reading! On the WordPress plug-in server files into the media library method to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Tags: Files plug-ins media servers services selections methods content more physical support good practical successful author background client client folder article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Microsoft NVidia MySQL Shulou Information