• If my wordpress page gets an parameter like this:

    test.org/puppy/?aff=3

    i want to pass it to my links via the page editor (not template) like this: editor code view:

    <p>test click <a href="www.shop.com?aff=[getparam 'aff']">here</a> to buy</p>

    so a click on the page will lead to

    www.shop.com/?aff=3

    thanks for help

    • This topic was modified 2 years, 4 months ago by elvis9999.
    • This topic was modified 2 years, 4 months ago by elvis9999.
    • This topic was modified 2 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
  • The topic ‘Use URL Params in Code/Block Editor’ is closed to new replies.