Hi @city17
Thanks for the question.
You can learn about using query vars from this article I found on the internet https://zeropointdevelopment.com/how-to-use-url-parameters-to-pass-data-to-wordpress/
Let me know if you need additional help. Thank you.