[wordpress插件] DownloadMusic下载音乐

wordpress 插件 文章 2020-04-21 18:31 0 44 全屏看文
评分
0
描述

This plugin was created to allow readers to download music that has been uploaded to a blog from a single page.

创建此插件是为了允许读者从单个页面下载已上传到博客的音乐。

The plugin looks through the posts table in the wordpress database for all attachments that have a mime type of audio/*.

该插件会在wordpress数据库中的posts表中查找所有mime类型为audio / *的附件。

It displays this when the reader looks at a page ( not a post ) named ‘Downloads’.

当读者查看名为“下载”的页面(而不是帖子)时,它将显示此内容。

The reader can then select the songs they wish to download, click on “Download All Selected” and download a zip file of all of the files selected, or they can simply download the single song they wish to listen to.

然后,读者可以选择他们想要下载的歌曲,单击“下载所有选定的歌曲”,然后下载所有选定文件的zip文件,或者他们可以简单地下载他们希望听的歌曲。

The list also lets users view the attachment page for a particular song, letting them leave comments.

该列表还允许用户查看特定歌曲的附件页面,让他们发表评论。

安装步骤

    1. Upload the DownloadMusic folder to the ‘/wp-content/plugins/’ directory
    2. 将DownloadMusic文件夹上传到“ / wp-content / plugins /”目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Create a page named ‘Downloads’ ( if you don’t already have one )
    6. 创建一个名为“下载”的页面(如果您还没有一个页面的话)

    7. Edit the text of the ‘Downloads’ page to whatever you want.
    8. 将“下载”页面的文本编辑为所需的任何内容。

    9. You’re good to go!
    10. 你很好!

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