• Resolved rakeshnirzari1

    (@rakeshnirzari1)


    Hi

    I am trying to put this in my wordpress post with URL param. But it fails to render

    <a href="https://www.skyscanner.com.au" onclick="window.open('https://www.google.com.au/[URLParam param='paramname']', '_blank');
    return true;">multiopen</a>
Viewing 1 replies (of 1 total)
  • Plugin Author dylanfeelscreative

    (@dylanfeelscreative)

    You link is incorrectly formatted using – ‘https://www.google.com.au/%5BURLParam param=’paramname’]’ – Here you are using [URLParam param=’paramname’] which is the shortcode and “paramname” should be the name of the parameter you want to actually use.

    So for example if my Param name was “location” then you would have the URL of https://www.google.com.au/?location=Sydney – for your example above.

    Then on your site you would add the shortcode to a page or form i.e. [URLParam param=’location’] and this would render the word “Sydney” on the page or input it into a form field etc.

Viewing 1 replies (of 1 total)
  • The topic ‘Not rendering’ is closed to new replies.