how to add custom page to wordpress site 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/