Good day, everyone:
I want to make wordpress to add the user's id number behind the ref's link string, so that, for example
<div class="toolsbutton"> <a href="http://mysite.com/mysite/page-">go this page</a> </div>
above code will be turning in to a link if the user id is 113 who clicked it, the address will become:
<a href="http://mysite.com/mysite/page-113">go this page</a>
Or, if you know an alternative to do so, please also let me know.
Generally, the purpose will be that a user will be directed to a page that with unified address but there will be a number equal to his id attached behind. every time, someone click the same link, in same page, will have the same effect on each user. When a user click it, will be the CURRENT USER, who is a registered user.
If anyone could tell me if I could create the page at the same time (if not exist), will be terrific!