Shortcode: download

With the download shortcode you can display one of your downloads.


This shortcode takes the following arguments:

id The download's ID which you want to display. You can find this from the downloads page in admin.
autop Set to true to have WordPress wrap the link in paragraph tags.
template The template used to output the download. Leave blank to use the default content-download.php template.
version_id Define a version's ID to load it instead of the current version.
version Define a version to load it instead of the current version.
The template argument in this shortcode uses content templates


[download id="10" template="image"]

Was this article helpful? Yes · No