https://github.com/verygoodplugins/edd-version-history
Adds a download version history shortcode to Easy Digital Downloads.
https://github.com/verygoodplugins/edd-version-history
Last synced: 5 days ago
JSON representation
Adds a download version history shortcode to Easy Digital Downloads.
- Host: GitHub
- URL: https://github.com/verygoodplugins/edd-version-history
- Owner: verygoodplugins
- Created: 2024-01-13T17:48:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T04:31:28.000Z (12 months ago)
- Last Synced: 2025-02-11T05:25:57.851Z (12 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Easy Digital Download Version History
This is an [Easy Digital Downloads](https://wpfusion.com/go/easy-digital-downloads) addon which allows you to link to previous versions of a plugin, based on tagged git releases.
It requires the [EDD Git Download Updater](https://easydigitaldownloads.com/downloads/git-download-updater/?ref=4978) plugin.

## How it works
* When a version download link is clicked, the plugin will first check your EDD uploads folder to see if a matching file already exists
* If not, it will connect to either Bitbucket or GitHub (depending on your configuration) and download the tagged .zip file to the uploads directory
* The .zip file will be served to the user via a secure EDD download link
## Shortcode parameters
The shortcode is `[edd_version_history]`. It accepts the following parameters:
* `download_id`: (required) The download ID
* `limit`: The number of tags to show (default `10`)
* `include_current`: Whether or not to include the current plugin version in the list. Default `false`
* `download_purchase_id`: By default we check to see if the customer has purchased the `download_id`, you can override that here (for example in case of addons or bundles)
## Wish List
- [ ] Display the file dates alongside the version numbers
## Changelog
### 1.0.0 on January 13th, 2024
- Initial release
--------------------
## Installation
1. Download the [latest tagged release](https://github.com/verygoodplugins/edd-version-history/tags).
2. Navigate to Plugins » Add New in the WordPress admin and upload the file.
3. Activate the plugin.
4. Add the shortcode to a page, following the instructions above.