I am working on a website, assyrians.com using WordPress and I am trying to link a menu to a PDF. The problem is, when I click on "Trial Election," it downloads the PDF file immediately. What I want is to be able to click "Trial Election" and for it to lead to the PDF document as a ready-to-read display instead of an immediate download.
I apologize if that sounds confusing. I would be happy to clarify. I appreciate any help.
2
Answers
Use e.g. the Download Manager plugin, it is not the optimal solution to upload stuff like PDFs or DOCX directly into the media section.
You can use the download link as a menu item, like /?wpdmdl=1234, where "1234" is the id of the Download Manager item.
The main reason is, that all users can decide what todo with "downloads", you can not force what they have to do with it. If I decide to open PDFs in browser, so it opens, if not, I get the download box.
You cannot assume any users have viewers so always offer as a simple choice. Place download above frame not hidden at bottom, you can pretty that up but most users understand hyper underlined addresses.
Adjust
height="90%Vh"
as desired and you can optionally addsandbox
attribute if desired.