Open download in new tab

Viewing 4 posts - 1 through 4 (of 4 total)
#174288

Jenny Flanagan
Participant

This is the third time I am asking.

The Web site in question is industrialvalve.co.za and it has over 100 downloads, one for each product displayed. I need to have the downloads open in a new tab when the download button is clicked so that visitors dont leave the Web site when they close the download.

It is built using the Divi theme and the free version of Download Manager

One investigation I read that there is a shortcode that can be used to achieve this that I found here https://www.wpdownloadmanager.com/support/topic/how-to-open-a-pdf-in-a-new-tab-rather-than-the-direct-download/#post-174252

When I try this by putting the short code into the custom css I get the following error Expected RBRACKET at line 12, column 19.

How do I achieve this simple thing? Do I need to purchase the pro version or where do I use the shortcode to achieve opening the pdf in a new tab?

Thank you

#174290

Humayon
Spectator

Hi,

Thank you for your query.

There is no such shortcode to achieve the new tab functionality.

Also, you can’t put a shortcode inside a CSS.

Apart from that, 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.

#177787

Heather Bodlak
Participant

Hello! I don’t see that option in my settings…

#177802

Humayon
Spectator

Hello,

Thank you for your reply.

As you have opened a new thread please continue there.

Regards

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

The topic ‘Open download in new tab’ is closed to new replies.