[wordpress插件] Bulk Attachment Download批量附件下载

wordpress 插件 文章 2020-03-13 15:20 635 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

A ‘Download’ option is added to the ‘Bulk Actions’ dropdown in the Media Library.

在媒体库的“批量操作”下拉菜单中添加了“下载”选项。

Choose the attachments you want to export, click ‘Apply’, and a zip file of those attachments is created that you can then download.

选择要导出的附件,单击“应用”,然后创建这些附件的zip文件,然后即可下载。

Before the zip file is created, you’ll see a) how many files will be downloaded, and b) how big the uncompressed files are.

在创建zip文件之前,您将看到a)将下载多少个文件,b)未压缩的文件有多大。

You are also given the option to:

您还可以选择:

    • Include or exclude image intermediate sizes.
    • 包括或排除图像中间尺寸。

    • Include in your download the folder structure you use in your uploads folder (e.g. year/month) or have all files downloaded in a single folder.
    • 在下载文件中包含您在上传文件夹中使用的文件夹结构(例如年/月),或将所有文件下载到一个文件夹中。

    You can set a maximum (uncompressed) file size to be downloaded in the plugin settings, found in Settings > Media.

    您可以在“设置”>“媒体”中找到的插件设置中设置要下载的最大(未压缩)文件大小。

    Zip files are automatically removed in 1 – 2 hours, or you can delete them yourself.

    zip文件会在1-2小时内自动删除,或者您可以自己删除它们。

    If you want to keep the download files inaccessible to others, you can use the ‘Make downloads secure’ option in Settings > Media.

    如果要使他人无法访问下载文件,可以使用“设置”>“媒体”中的“确保下载安全”选项。

    This creates a .htaccess file in the folder where the download zip files are kept, preventing direct access.

    这会在保存下载zip文件的文件夹中创建一个.htaccess文件,从而阻止直接访问。

    However there’s no point in using this feature unless you also have some means of preventing direct access to the attachments themselves

    但是,除非您还具有防止直接访问附件本身的某些方法,否则使用此功能没有任何意义。

    in the Uploads folder.

    在“上载”文件夹中。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / plugin-name 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    The ‘Download’ option will now appear in the ‘Bulk Actions’ dropdown of the Media Library (when in List mode).

    “下载”选项现在将显示在媒体库的“批量操作”下拉列表中(处于列表模式时)。

下载地址
https://downloads.wordpress.org/plugin/bulk-attachment-download.1.2.3.zip
-EOF-

AI助手支持GPT4.0