Sauter la navigation

[Résolu] adding an external link

This support ticket is created Il y a 3 années et 10 mois. 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.

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par digitalF Il y a 3 années et 10 mois.

Auteur
Publications
#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
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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.