[WordPress] 外掛分享: Simple File Downloader

首頁外掛目錄 › Simple File Downloader
WordPress 外掛 Simple File Downloader 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10,000+
安裝啟用
★★★★★
5/5 分(11 則評價)
3722 天前
最後更新
0%
問題解決
WordPress 3.0+ v1.0.4 上架:2014-04-03

內容簡介

這個外掛將允許管理員在最簡單、無壓力的方式下向任何文章/頁面中添加下載連結。
無需使用者限制,所有網站訪客都可以從您的網站下載任何文件。

功能

在您的管理組件編輯器中,您可以使用下載按鈕來編輯文章、頁面或郵件類型。自動生成簡碼。
手動通過簡碼[media-downloader]將下載連結插入到任何文章、頁面或自定義郵件類型中。請查看下面的更多參數(嵌入)。
允許用戶免費直接下載所有文件格式。
下載無文件大小限制。
有關更多信息,請查看Simple File Downloader的文檔頁面

嵌入/生成的簡碼

創建一個新文章/頁面,然後從內容編輯器中點擊“添加下載”按鈕,然後生成以下簡碼:

[media-downloader media_id="9" texts="立即下載!"]

媒體ID會自動添加到您的媒體庫中。

以下是在生成文件下載的簡碼時提供的所有可用參數:

texts

如果您選擇將文本參數留空,那麼它將默認為“下載文件”。

image_url

您也可以使用圖像/按鈕作為您的下載連結。如果提供了此參數,那麼文本參數將被此圖像替換。

[media-downloader media_id="9" image_url="http://domain.com/wp-content/themes/images/button.png"]

類別

您可以將類別添加到您的下載鏈接中的文字或圖像按鈕。如果您想應用您自己的風格,這非常有用。

[media-downloader media_id="9" texts="下載PDF" class="download-pdf"]

顯示檔案大小

您也可以選擇顯示文件大小。只需設置為“yes”即可

[media-downloader media_id="9" texts="下載PDF" display_filesize="yes"]

外掛標籤

開發者團隊

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

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

原文外掛簡介

The plugin that will let admin user to add download links to any posts/pages in simplest way and hassle free.
Allows all your site visitors to download any files from your website without any user restriction.
Features

Downloader button is available in your admin content editor for post, page or post type. Shortcode will be generated automatically.
Insert download links manually via shortcode [media-downloader] to any posts, pages or custom post types. Check for more parameters below (Embedding).
Allow users to directly download in all file formats for free.
No file size limit for downloads.
For more information please check the Simple File Downloader documentation page

Embedding / generated Shortcodes
Create a new post/page and click the ‘Add Download’ button from the content editor, then generate the shortcode below:
[media-downloader media_id="9" texts="Download Now!"]

Media id is automatically added from your media library.
Here are the all the available parameters when generating shortcode for file download:
texts
If you choose to leave the texts parameter empty, then it be defaulted to ‘Download File’.
image_url
You can also use image/button as your download link. If you supplied this parameter, then texts parameter will be replaced by this image.
[media-downloader media_id="9" image_url="http://domain.com/wp-content/themes/images/button.png"]

class
You can add class to your download link either a texts or image button. This is useful if you want to apply your own style.
[media-downloader media_id="9" texts="Download PDF" class="download-pdf"]

display_filesize
You also have an option to display the size of the file. Just set it to ‘yes’
[media-downloader media_id="9" texts="Download PDF" display_filesize="yes"]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon