Archived topic
Toolset shortcode with url causes error
2 replies · Started by Andy on July 1, 2019
Hi
I am using hooks to add custom content via Toolset custom fields.
They all work fine apart from url fields with anchor text. I get %3C/a> on the front end of every url.
This is my code
<a href='[types field="link1" output="normal"][/types]'rel="nofollow"style="color:white;display:block;" >[types field="linktext"][/types] </a>
So I am trying to get a link wrapper effect with the whole div as the link and url plus button text as defined by the user.
The incorrect code does not show in my front end link, except when I hover and can see the url in the Chrome status bar, but of course, the site will not connect.
Is this a GP Premium, Toolset or my own issue through bad coding?
Thank you
Andy
Lol I am an idiot - output should be raw --- oops sorry.
Glad to hear you got it resolved. And thanks for sharing the reason :)