Page template option not showing in WordPress

How to set template option in WordPress Page

I missed to share with all of you that one time i faced a  problem that i don’t get the option of selecting a page template and if you are a wordpress developer then you can understand how much typical problem is it? .I solved out template option issue with my own think. Now I am sharing my issue with all of you. Just see its reason and solution.

 

Problem:

<?php
/*
Template Name :  Contact
*/
?>

In this code we are using here a space between Name and Colon(:) and this is the reason of not getting template option in page because this is not response like template.

 

Solution:

Just remove the space between Name and colon(:).Now check your page you will get template option. Solved

 

<?php
/*
Template Name:  Contact
*/
?>