turn a page into a wordpress template code example
Example: create a custom page and call that page wordpress
I used "Editing Your Custom Page Template" method
reference:
https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/