• Resolved giroin

    (@giroin)


    Hello,

    I got a simple function returning a value. I can see it coming on page when I use the snippet however I wanted to use it within an href tag. When I use it returns an error not passed the snippet id. Should be a problem with double quotes etc.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi

    Try use single quotes ‘ for snippet id and double quotes ” for other html.
    Example: <a href="[wbcr_php_snippet id='xxx']">link</a>

    Best regards, Kirill
    Webcraftic team

Viewing 1 replies (of 1 total)

The topic ‘Snippet on href tag’ is closed to new replies.