Home >CMS Tutorial >WordPress >How does the WordPress plugin import server files into the media library?

How does the WordPress plugin import server files into the media library?

藏色散人
藏色散人Original
2019-12-28 09:40:273077browse

How does the WordPress plugin import server files into the media library?

How does the WordPress plugin import server files into the media library?

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

Recommended: "wordpress tutorial"

How does the WordPress plugin import server files into the media library?

After successful installation and activation, you can see that there is an Add From Server under the Media menu. You can browse any folder in the site, select the target file, and click Import to import.

How does the WordPress plugin import server files into the media library?

Note:

This plug-in only supports WP 2.8.5 or higher version

The import operation of this plug-in does not perform the original file The move or copy operation 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 will not be deleted. Maybe the author assumes that since it is a reference from Import, deletion cannot delete the physical file. But sometimes, we really want to delete the file as well. It would be better if there is an option.

The above is the detailed content of How does the WordPress plugin import server files into the media library?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn