wp hierarchy code example
Example: wordpress define template name
/*on top of Php file add the below line to make as custom template*/
<?php /* Template Name: Custom template name */ ?>
/*on top of Php file add the below line to make as custom template*/
<?php /* Template Name: Custom template name */ ?>