File Name got changed when downloaded
Hi Team,
I wanted to place a functionality of downloading this file(with name current catalog.pdf) upon click of the button. The same went well but later I realized that the downloaded file name got changed to the URL path of media folder where the file was placed. Any way to solve this issue?
Initial File Name: current catalog.pdf
File name got changed to: http___localhost_abcdef_wp-content_uploads_2018_04_current-catalogShort code Used:
[button title="Product Catalog" link="" target="_blank" align="" icon="icon-download" icon_position="" color="" font_color="" size="2" full_width="" class="" download="http://localhost/abcdef/wp-content/uploads/2018/04/current-catalog.pdf" rel="" onclick=""]
Comments
the download field is only for inserting the file name that is downloaded. It is not for inserting the path to the file.
Please paste the URL into the link field.
thanks