• Hi,

    In my website, I inserted one pdf file in one menu and that pdf is opening when you click on menu.

    Now, I have to download that pdf file for my users in zip format or directly pdf format.

    Please guide me.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • From a user’s perspective, when I see a menu item link, I expect to be taken to another web page and not a zipped file or PDF.

    So unless you have some sort of indicator, for example a PDF icon or even the words (PDF) next to the menu item text, that is a lot better than a zipped file, in my opinion.

    To me, a zipped file implies there is more than one file and that it’s quite large in file size.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter ketui

    (@ketui)

    Thanks Adeline and Andrew for your replay.
    Hey Adeline,
    Please go through link : https://the-edge.in/
    and click on Download Brochure link, you will find pdf is opening in new tab but I have to download that pdf file directly on clicking the link for my users.

    Thanks

    Try this:

    <a href="https://the-edge.in/wp-content/uploads/the-edge-brochure.pdf" download="the-edge-brochure.pdf">Download Brochure</a> instead of the HTML that exists now.

    Hi ketui,

    Have you tried any of the possible solutions provided from Andrew’s link?

    If not, I also just read on WPBeginner this article how to add a PDF Viewer in WordPress so if you don’t want users to go to a new tab you could try using the plugin mentioned in this link.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to directkly download and open your pdf on clicking menu’ is closed to new replies.