Skip Navigation

[Resolved] adding an external link

This support ticket is created 2 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by digitalF 2 years, 8 months ago.

Author
Posts
#2128659

Hi - I'm using this snippet which is working perfectly:

<a href="[types field='slide-link' target='_blank' output='raw'][/types]"> Test Content</a>

however the target='_blank' attribute isn't opening the links in a new tab. Any idea why this is the case?

#2128757

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Try changing it so that the target attribute is part of the a tag and not part of the shortcode, e.g.

<a href="[types field='slide-link' output='raw'][/types]" target='_blank'> Test Content</a> 
#2128761

Ahh perfect! Thank you very much - all sorted.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.