I'm beginner with programming and web development. I have a WordPress website (http://www.example.com).

My post have three buttons to load some iframes without refreshing

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.