click opens a new Tab/Window.

Viewing 17 posts - 1 through 17 (of 17 total)
#109925

Beyondforce
Member

Hey Guys,

I have created a new file to download from a URL (google drive).
Now, when I click on the button to download the file, it takes me away from my current page instead of opening a new tab!

How can I force a click on a button to open in a new Tab/Window?

Thanks.

#109935

Hi, you can try the following shortcode in a page

[wpdm_direct_link id="Package ID" target="_blank" label="Download Me!"]

#109936

Beyondforce
Member

Unfortunately, it didn’t work ๐Ÿ™

#110032

Hi, Could you please share your Admin login temporarily in a private reply so that I can have a look inside?

#110034

Beyondforce
Member
This reply has been marked as private.
#110040
This reply has been marked as private.
#110041

Beyondforce
Member

Just login in the front page and you will see the admin tool bare.

#110042
This reply has been marked as private.
#110043

Beyondforce
Member

Please check out the second button (brown), it’s a link to a google drive file:

Forum

This is the shortcode: [wpdm_button_template id=74 target=”_blank” style=”coffee” align=”center”]

#110046

Just FYI
For shortcode like below, target=”_blank” is not a supported option!

[wpdm_button_template id=72 target="_blank" style="green" align="center"]

#110048

Beyondforce
Member

I don’t understand… What is the difference between your shortcode and mine?

#110050

Beyondforce
Member

Do you mean I can’t use target=”_blank” with a button?

#110053

Shahjada
Keymaster

@beyondforce, the button template add-on doesn’t have any parameter named target. Please use:

[wpdm_direct_link class="btn btn-success btn-lg" id="74" target="_blank" label="Download"]

#110054

Beyondforce
Member

What a shame… I wanted to use the button ๐Ÿ™

#110057

Hi, See in my earlier msg I have mentioned target is not supported

#110059

Beyondforce
Member

Okay, thanks for trying to help.

#110060

You are most welcome!

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

The topic ‘click opens a new Tab/Window.’ is closed to new replies.