This blog will guide on how to assign different template for page wordpress or different template for each page in wordpress. Yes its possible and really simple way to do this. After reading this blog you will be surprised on it’s so easy.
Quick and easy steps for creating custom template file for wordpress page.
Step 1: First Understand which is your current theme. Login to wordpress admin panel.
Select “Appearance > Themes ” from left menu, it will reload the page, see the right section. Now see the current theme name and go to the code base “wp-content > themes > current Theme Folder”
Step 2: Now create new file let say’s “phptechi.php” and copy following line inside this file as a comment. Now lets get back to wordpress admin panel. Create New Page (Add New). On this page On right hand side You will see Page Attributes section, Inside this section select drop down option list “Template”, you will see new template name “phptechi”. Select this option and save the page, you are done for admin configuration.
/* Template Name: phptechi */
Note : Please make sure you are not using the reserved theme file names.
Step 3: Now open your page using preview and you are done.