[WordPress] 外掛分享: EDD Download Info

首頁外掛目錄 › EDD Download Info
WordPress 外掛 EDD Download Info 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
★★★★★
5/5 分(6 則評價)
3911 天前
最後更新
問題解決
WordPress 3.9+ v1.1 上架:2013-02-10

內容簡介

EDD Download Info 是適用於 Easy Digital Downloads ​​外掛的附加功能外掛。您需要先安裝它。

外掛功能

此外掛主要是為 WordPress 主題和外掛商店而設計,並具有一些其他功能。

新增 metabox,您可以在其中添加演示、文件和支援網站的 URL。此外,由於這通常不同於您下載“郵件”的更新日期,因此還提供了更新日期。
新增下載功能(自訂分類法)。
新增兩個小工具。一個用於顯示下載信息,例如購買鏈接、演示、文件和支援站點鏈接、版本號、下載次數和更新日期。
另一個小工具是用於下載功能。
新增「免費下載」按鈕的簡碼。這是針對您想免費提供並在 wordpress.org 上託管的下載,但仍然需要在您的網站上提供下載的情況。

小工具用法

在「外觀」>>「小工具」下,您可以找到兩個小工具:下載功能和下載信息。

使用「下載功能」很簡單。只需將其拖放到小工具區域並編寫標題。您還可以勾選是否在功能中使用鏈接。

在下載信息小工具中,您可以獲得版本號、下載次數、更新日期、演示支援和文檔鏈接。

版本號源於EDD版本或EDD軟件許可證插件。
下載次數來自EDD edd_get_download_sales_stats 函數。
您可以將演示鏈接設置為顯示為按鈕,並可以在「下載」>>「設置」>>「樣式」下更改默認演示鏈接樣式。
在編輯下載時,您可以設置演示、支援和文檔鏈接以及更新日期。右側還有 Download Info metabox。
您還可以在按鈕中顯示購買鏈接,並在新窗口中打開該鏈接。

簡碼用法

此外掛註冊簡碼 [edd_download_info_link]。這可以為您生成帶有自訂鏈接的下載按鈕。此簡碼中有幾個屬性。

url: 您絕對需要使用此屬性,因為默認的URL鏈接為空。這是您單擊此按鈕時要轉到的URL。
open: 默認情況下,鏈接在新窗口中打開。如果將屬性設置為「否」,則鏈接將在同一窗口中打開。
text: 默認文本為「下載」。
style: 默認樣式為按鈕。
color: 默認樣式為藍色,或者您已在「下載」>>「設置」>>「樣式」中為預設按鈕顏色設置了其他顏色。
class: 預設為「edd-submit」。

示例用法:

[edd_download_info_link text="Download Free" url="https://wordpress.org/extend/plugins/edd-download-info" color="gray" open="no"]

外掛標籤

開發者團隊

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

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

原文外掛簡介

EDD Download Info is add-on plugin for Easy Digital Downloads plugin. You need to install
that first.
Plugin Features
This plugin is mainly for WordPress Themes and Plugins shop with some added features.

Adds metabox where you can add URL for your demo, document and support site. There is also updated date because this is not normally same as updated date of your download ‘post’.
Adds download features (custom taxonomy).
Adds two widgets. One widget is for showing download info like purchase link, demo, document and support site links, version number, download count and updated date.
And another widget is for download features.
Adds shortcode for “Free Download” button. This is for downloads which you want to give away free and host in wordpress.org for example, but still have them on your site as a download.

Widgets usage
Under Appearance >> Widgets you can find two widgets: Download Features and Download Info.
Using Download Features is easy. Just drag it into a widget area and write title. You can also check whether to use links or not in features.
In Download Info widget you get version number, download count, updated date, demo, support and documentation link.

Version number comes from EDD version or EDD Software Licence Plugin.
Download count comes from EDD edd_get_download_sales_stats function.
You can set demo link to show as button and you can change default demo link style under Downloads >> Settings >> Styles.
You can set demo, support and documentation link and updated date when you’re editing download. There is metabox Download Info on the right.
You can also show purchase link in button and open link in a new window.

Shortcode usage
This plugin register shortcode [edd_download_info_link]. This gives you download button with custom link. There are couple of attributes in this shortcode.

url: you definitely want to use this because default url link is empty. This is the url you want go when you click this button.
open: By default link opens in new window. If you set attribute to no, link opens in the same window.
text: default text is Download.
style: default style is button.
color: default style is blue or what you have set under Downloads >> Settings >> Styles for Default button color.
class: default is edd-submit.

Example usage.
[edd_download_info_link text="Download Free" url="https://wordpress.org/extend/plugins/edd-download-info" color="gray" open="no"]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon