If you want to use the download system of the Download Monitor Plugin with a custom button that you have created with another plugin or theme, then the option explained in this documentation will be useful.
You can also use it to share a direct download URL of an item via an email.
Note: this is mainly suitable for downloads that you are giving for free and you want to just track the downloads.
Direct Download URL of an Item
Use the following format to create the direct download URL for a download item:
https://www.yoursite.com/?smd_process_download=1&download_id=XX
XX is the ID of the download item (you can get this value from the Downloads Menu of the plugin). Also, replace yoursite.com with your actual site URL (your domain name).
- XX – Replace this value with the actual download item’s ID.
- yoursite.com – Replace this value with your domain name.
Tracking the Downloads
Since this URL will be handled by the Download Monitor plugin, the downloads will be tracked by it.
Using it with a Custom Button or a Custom Form
If you are using another plugin or a theme that wants a target URL value for a custom button or a form, you can use this URL.