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"]