1. Home
  2. Knowledge Base
  3. Shortcodes
  4. Shortcode: download_data

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?

Related Articles

In this article

In this article

In this article

Start Protecting your WordPress Downloads

Protect, sell and track downloads on Wordpress... What are you waiting for?