Hi!
I have a question about the following page:
The widget in the sidebar on the right hand side at the bottom links to an external website (‘ladda ner gratis ebook’). And I want this link to open in a separate tab. Could you please advise me how to do this?
I have added the code for this widget in the private content.
Thanks,
Jangdom
Hey Tarakbc,
Please use the _blank attribute in the target to open links in a new tab.
You can copy paste the working code here http://pastebin.com/raw/Fgvatahz
Best regards,
Vinay
Hi Vinay,
Thanks very much for your reply. However, I need a little bit more explanation to implement your suggestion. Please could you explain where I find the _blank attribute. Is this function somewhere on the widgets page?
Also, I do not know what you mean by ‘target’.
Grateful for any further clarification.
Kind regards,
Jangdom
Hi Jangdom,
Please try pasting the code Vinay sent in a text widget. The target is an attribute inside the code he sent:
target="_blank"
Or in your shortcode:
link_target='_blank'
It tells the browser to open the link in a new tab.
Best regards,
Rikard
That worked great. Thanks for the clarification.