How to open a PDF in a new tab rather than the direct download

Viewing 9 posts - 1 through 9 (of 9 total)
#171629

Arianna Bianchi
Participant

Hi there,

How can I make open a file in a new tab, rather than start a direct download on click, with the Direct download shortcodes (/?wpdmdl=[ADD_FILE_ID]” or [wpdm_direct_link id="" target="_blank" label=""])

Thanks in advance
Arianna

#171654

Humayon
Spectator

Hi @arianna-bianchi,

We hope you are well, and Thank you for your query.

Please ensure that you have enabled the Open in Browser option in the WPDM settings section, which should resolve the issue.

Here’s the reference screenshot: https://prnt.sc/Ky52svxWbBmC

Let us know if you have any queries regarding this.

#171656

Theresa Stacy-Ryan
Participant

Thanks! This worked for me (I had the same question!).
tmsr

#171691

Arianna Bianchi
Participant

That worked for me too, thank you!

#171692

Humayon
Spectator
This reply has been marked as private.
#173076

Arvind Kumar
Participant

I have opposite problem. I am using free version of plugin. I have created a particular page for download of PDF ebook. When I click the link to download, the ebook opens in the browser with the file location. With this file location anyone can have access to download it. Why the file not downloading?

#173088

Humayon
Spectator

Hi @arvindkh,

Thank you for your query.

As it’s a resolved thread, we recommend you open a new thread regarding your issue, which will help us track and resolve the issue promptly.

Regards

#174087

Jenny Flanagan
Participant

Hi, Further to the above I also need the download to open in a new tab so that people dont leave the Web site. I have tried the shortcode above with no success and maybe I am putting it in the wrong place. I am using Divi theme and when I put it into the custom CSS I get the following error Expected RBRACKET at line 12, column 19.

#174252

Humayon
Spectator

Hello @jflan,

Thank you for your query.

As it’s a resolved thread, we recommend you open a new thread regarding your issue, which will help us track and resolve the issue promptly.

Regards

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘How to open a PDF in a new tab rather than the direct download’ is closed to new replies.