[Resolved] Toolset shortcode with url causes error

Home Forums Support Toolset shortcode with url causes error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #945899
    Andy

    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

    #945920
    Andy

    Lol I am an idiot – output should be raw — oops sorry.

    #945955
    David
    Staff
    Customer Support

    Glad to hear you got it resolved. And thanks for sharing the reason 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.