Just a quick tip that my loyal readers probably know already (hi, Mom!) but if you are attaching a .pdf file to your site for visitors to download, sometimes they don’t immediately know how to download it. Most modern browsers will support adding the download attribute to the link. Like so:
<a href="http://www.example.com/wp-content/uploads/2018/02/GenericForm.pdf" target="_blank" rel="noopener" download>
Here’s a handy page showing who supports the download attribute. I don’t quite dare to steal the page as an image and put it up, but I’m tempted. It’s cool.
You can also add a script to your site to force all .pdfs to be downloaded…but that was too complicated for me this am. And I had to finish this blog post in a timely manner. So let me know if you try it, I’d love to hear how it went.
Leave a Reply