Shortcode: download_data

With the download_data shortcode you can display specific download information.

Arguments

This shortcode takes the following arguments:

idThe download’s ID which you want to display. You can find this from the downloads page in admin.
autopSet to true to have WordPress wrap the link in paragraph tags.
version_idDefine a version’s ID to load it instead of the current version.
versionDefine a version to load it instead of the current version.
dataData you wish to display can choose between:
– filename
– filetype
– filesize
– file_date
– version
– title
– short_description
– download_link
– download_count
– post_content
– post_date
– author
– image
– thumbnail
– tags
– categories
– md5
– sha1
– sha256
– crc32b

Example

[download_data id="10" data="download_link"]
Was this article helpful?
Start Protecting your WordPress Downloads

Protect and track downloads on WordPress... What are you waiting for?