-
Duplicate the post.php in your theme folder.
-
Rename that file as any_name.php
-
Enter the following code at the top of that file.
< ?php /* Template Name: Any Name */ ?>
-
Add your php codes to that file.
-
Go to admin panel — > Create a new page — > Select your template and publish the page