hi, hope you can help me.
I have WPDM free and I used the following short code to create a download button to a pdf file:
<div style=”text-align: center;”>
[wpdm_package id='1400' template ="link-template-button"]
</div>
when hovering over the button it does not show the file location which is great!
but when i click on this button to things happen that i don’t want to happen:
1. the pdf file opens in a new tab instead of being downloaded.
2. the tab that opens up with the PDF file shows the full path to the file e.g:
https://mysite.com/wp-content/uploads/2020/02/my_file_name.pdf
i am using Chrome browser.
How do i make the download button trigger an actual download without opening the file in a different tab?