I would like to recommend you to read The Rewrite API: The Basics article. Especially pay attention to the Add Custom Endpoint
section where you can find how to create what you need.
I would like to recommend you to read The Rewrite API: The Basics article. Especially pay attention to the Add Custom Endpoint
section where you can find how to create what you need.