Display a package's version history in a beautiful, interactive timeline format.
The [wpdm_changelog] shortcode renders the changelog/version history of a download package. It displays each version entry in a modern timeline UI with collapsible sections, making it easy for users to browse through release notes and update history.
[wpdm_changelog id="123"]
Replace 123 with your package ID.
| Parameter | Type | Default | Description |
|---|---|---|---|
id |
integer | required | The package/post ID. This parameter is required. |
title |
string | "Changelog" |
Header title displayed above the changelog timeline. Set to empty string to hide. |
show_empty |
boolean | false |
Whether to show a message when no changelog entries exist. |
limit |
integer | 0 |
Maximum number of entries to display. Use 0 to show all entries. |
collapsed |
boolean | true |
Whether to collapse all entries except the first (latest) one. |
Display all changelog entries for package ID 123:
[wpdm_changelog id="123"]
Use a custom header title:
[wpdm_changelog id="123" title="Version History"]
Remove the header title completely:
[wpdm_changelog id="123" title=""]
Display all entries in expanded state (not collapsed):
[wpdm_changelog id="123" collapsed="false"]
Show only the latest 5 entries:
[wpdm_changelog id="123" limit="5"]
Display a message when no changelog exists:
[wpdm_changelog id="123" show_empty="true"]
This will show "No changelog available." if the package has no changelog entries.
Use multiple parameters together:
[wpdm_changelog id="456" title="What's New" limit="5" collapsed="false" show_empty="true"]
The changelog body supports rich HTML content including:
You can also call the changelog method directly in PHP:
// Using the package controller
$controller = new \WPDM\Package\PackageController($package_id);
echo $controller->changelog($package_id, [
'title' => 'Changelog',
'show_empty' => false,
'limit' => 0,
'collapsed' => true,
]);
// Or using the static method
echo \WPDM\Package\PackageController::getChangelog($package_id, $args);
// Or using the WPDM global object
echo WPDM()->package->changelog($package_id, $args);
Changelog entries are added through the WordPress admin:
The changelog is fully responsive:
For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.