Force PDF download from custom menu?
I added a link to a PDF in my custom navigation menu. Is there a way to force it to download instead of open? 2 Answers 2 If you don’t mind all PDF attachments been forced to be downloaded then you can use something like this: <?php if (have_posts()) : while (have_posts()) : the_post(); $pdf_title … Read more