[WordPress] 外掛分享: Easy Media Download

首頁外掛目錄 › Easy Media Download
WordPress 外掛 Easy Media Download 的封面圖片
9,000+
安裝啟用
★★★★
4/5 分(28 則評價)
85 天前
最後更新
問題解決
WordPress 3.0+ v1.1.12 上架:2013-11-03

內容簡介

媒體檔案需要提供下載,你可以使用 WordPress 的外掛 - Easy Media Download。這款免費的下載管理外掛能夠讓你的使用者從你的網站上下載電子檔案。該外掛體積輕小,使用更簡單,你可以在網頁上快速建立美觀的下載按鈕,只需點擊按鈕即可開始下載。

該外掛的功能如下:

快速建立下載按鈕
提供免費下載音樂或音頻檔案,例如: mp3、aac、m4a、wav
將下載按鈕插入到你的登陸頁面
提供免費下載視頻檔案,例如: mp4、mov、qt (QuickTime)、mpg、mpeg、flv、m4v、swf、flash、avi、wma、ogg、webm
可提供所有檔案格式的直接下載
提供免費下載文件檔案,例如:doc、docx (OpenOffice,Microsoft Word)、odt(OpenDocument)、htm、html、ps、tex、xml、txt、csv
允許下載大型檔案 (無檔案大小限制)
提供免費下載Office檔案,例如:xlsx (Microsoft Excel),pptx (Microsoft PowerPoint)
提供免費下載腳本,例如:js、css、php
跟蹤/監控你的下載狀況
提供免費下載存檔或壓縮檔案,例如:tar、rar、zip、7z、gz、z
使瀏覽器彈出下載提示
提供免費下載圖片檔案,例如:png、gif、jpg、jpeg、bmp
在新的分頁中開啟下載
提供免費下載電子書,例如:pdf、epub
只允許登陸用戶訪問下載按鈕

Easy Media Download 擴展

僅限用戶下載

更多詳細信息請查閱 Easy Media Download 文件頁面

嵌入短碼進行下載

建立一個新的文章/頁面,並使用以下短碼為你的電子媒體檔案創建下載按鈕

[easy_media_download url="http://example.com/wp-content/uploads/myfile.zip"]

在此,url 是一個短碼參數,你需要用實際的電子檔案 URL 替換它。

你也可以在短碼中指定其他自定義的可選參數。

按鈕文本

預設情況下,下載按鈕上的文字是「立即下載」。你可以使用「text」參數來修改文本。

[easy_media_download url="http://example.com/wp-content/uploads/myfile.zip" text="免費下載"]

按鈕寬度

預設情況下,下載按鈕的寬度為「153」。但是你可以使用「width」參數進行修改。

[easy_media_download url="http://example.com/wp-content/uploads/myfile.zip" text="免費下載" width="100"]

按鈕高度

預設情況下,下載按鈕的高度為「41」。但是你可以使用「height」參數進行修改。

[easy_media_download url="http://example.com/wp-content/uploads/myfile.zip" text="免費下載" width="100" height="50"]

在新視窗中下載

預設情況下,下載在同一視窗中進行。但是你可以使用「target」參數進行修改。

[easy_media_download url="http://example.com/wp-content/uploads/myfile.zip" target="_blank"](在新分頁中開啟下載)<h3>強制檔案下載</h3>

通常情況下,當數位檔案需要下載時, 瀏覽器的預設行為是直接打開而不是下載該檔案。你可以使用下列程式碼來讓該功能成為強制下載的方式。

<Files *.*>
ForceType application/octet-stream
Header set Content-Disposition attachment
</Files>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.12) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Easy Media Download」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Easy Media Download is a free download manager for WordPress. It gives your users the ability to download digital media files from your website. The plugin is lightweight and makes downloading easier. You can create beautiful download button which instantly starts the download once clicked.

Features

Create quick downloads
Free downloads for music or audio files e.g. mp3, aac, m4a, wav
Insert download buttons into your landing page
Free downloads for video files e.g. mp4, mov, qt (QuickTime), mpg, mpeg, flv, m4v, swf, flash, avi, wma, ogg, webm
Allow users to directly download in all file formats
Free downloads for document file e.g. doc, docx (OpenOffice, Microsoft Word), odt (OpenDocument), htm, html, ps, tex, xml, txt, csv
Allow large file download (No limit on the file size)
Free downloads for Office file e.g. xlsx (Microsoft Excel), pptx (Microsoft PowerPoint)
Free downloads for script e.g. js, css, php
Free downloads for archive or compressed file e.g. tar, rar, zip, 7z, gz, z
Force the browser to open the download prompt
Free downloads for image file e.g. png, gif, jpg, jpeg, bmp
Open the download in a new tab
Free downloads for e-book e.g. pdf, epub

Easy Media Download Add-ons

User Only Download

Embedding Shortcodes for the Downloads
Create a new post/page and use the following shortcode to create a download button for your digital media file:
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip"]

here, url is a shortcode parameter that you need to replace with the actual URL to your digital file
You can also specify additional optional parameters in the shortcode to customize the free download button.
Button Text
By default the text for the download button is “Download Now”. But you can choose to modify the text using the “text” parameter.
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download"]

Button Width
By default the width for the download button is “153”. But you can choose to modify it using the “width” parameter.
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download" width="100"]

Button Height
By default the height for the download button is “41”. But you can choose to modify it using the “height” parameter.
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download" width="100" height="50"]

Download in a new window
By default the download starts in the same window. But you can choose to modify it using the “target” parameter.
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip" target="_blank"] (opens the download in a new window)

Force File Download

Usually when a digital file is recognised by the browser it does not prompt for download. The file just opens in the browser instead. You can choose to modify this behaviour using the force_dl parameter in the shortcode.
[easy_media_download url="https://example.com/wp-content/uploads/myfile.mp3" force_dl="1"]

Download Button Templates

Easy Media Download comes with 21 different download button templates. All you need to do is specify the style and the button will look just like it. For example:
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip" color="red_darker"]

grey
grey_light
red
green_dark
green_light
green
blue
blue_two
blue_three
blue_four
orange
orange_two
orange_light
orange_dark
purple
purple_dark
purple_light
yellow_red
hot_pink
pink

If you want to fully customize the download button you can use your own button image instead.
Link Rel
You can use the HTML link rel attribute in the shortcode to define the relationship between your page and the linked download.
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip" rel="nofollow"]

Custom CSS Class

In addition to various button templates, If you want to apply custom styling to a button you can do so by using the class parameter.
[easy_media_download url="https://example.com/wp-content/uploads/myfile.zip" class="myclass"]

You can specify multiple CSS classes in the shortcode.
[easy_media_download url=”https://example.com/wp-content/uploads/myfile.zip” class=”myclass1 myclass2 myclass3″]
The container that encloses the button can be targeted using the parent_class parameter in the shortcode.
[easy_media_download url=”https://example.com/wp-content/uploads/myfile.zip” parent_class=”blockclass1″]
Easy Media Download Shortcode 2
With this shortcode, you can create a download button with your preferred color.
[easy_media_download2 url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download" bg_color="#CC0000"]

Background Color
The background color of the download button is “#3498db” by default. You can customize it using the “bg_color” parameter.
[easy_media_download2 url="https://example.com/wp-content/uploads/myfile.zip" bg_color="#CC0000"]

Font Color
The font color of the download button is “#ffffff” by default. You can customize it using the “font_color” parameter.
[easy_media_download2 url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download" font_color="#71B02F"]

Hover Background Color
The “hover_bg_color” parameter can be used to change the background color of the download button when you mouse over it.
[easy_media_download2 url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download" bg_color="#3498db" hover_bg_color="#3cb0fd"]

Font Family
The font family of the download button is “Georgia” by default. You can customize it using the “font_family” parameter.
[easy_media_download2 url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download" font_family="sans-serif"]

Font Size
The size of font is “15px” by default. You can customize it using the “font_size” parameter.
[easy_media_download2 url="https://example.com/wp-content/uploads/myfile.zip" text="Free Download" font_size="20px"]

For more information please check the Easy Media Download documentation page
Languages
If you are a non-English speaker please help translate Easy Media Download into your language.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon