I'm beginner with programming and web development. I have a WordPress website (http://www.example.com).
My post link is http://www.example.com/mypost/, so when I click on a button (assuming demo 1 button) my URL isn't changed and will look like http://www.example.com/mypost/. I need to change it to something like this http://www.example.com/mypost?button=demo1 so that when visiting this URL http://www.example.com/mypost?button=demo1 I will find the content of demo 1 button.
Thanks for help me!