Navigation überspringen

[Gelöst] adding an external link

This support ticket is created vor 3 Jahre, 10 Monaten. 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.

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von digitalF vor 3 Jahre, 10 Monaten.

Author
Artikel
#2128659

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

Test Content

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

#2128757

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: 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.