Use URL Params in Code/Block Editor
-
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
- The topic ‘Use URL Params in Code/Block Editor’ is closed to new replies.