BeTheme Best practice for downloading files from website?
I went once thorugh all the documentation and i am amazed! What a great theme!
There is may be something i am missing.
How to download files? Is there a BeTheme way?
My case:
for every portfolio item i have an image (the image that summmarizes the portfolio item) a description and a pdf file to donwload.
up to now i managed to insert a link inside an item (like Image) in Muffin Builder.
Anyway the link property forces me to write the full path to the file (http://localhost/mywebsite/wp-content/uploads/2016/06/mypdf.pdf), while uploads/2016/06/mypdf.pdf does not work, because this path is appended to the portfolio url.
Since i am working on localhost and i plan to move the site online for production i do not want to harcode http://localhost in my links, does the theme ofer an alternative? Or how you suggest me to do this?
Thanks.
Comments
for files download, you can use the html download attribute. More details about that you can read on http://www.w3schools.com/tags/att_a_download.asp
Please notice that except above, we do not have any other solution to make files downloadable.