Create a Page Template in WordPress

Published on : September 23, 2014

Author:

Category: Uncategorized


Page template is a common thing for WordPress theme. When we create a page their is a page template choosing option.

We can create easily a page template using these steps.

1.Go to your theme folder.
2.Create a file named  template_{your-templete-name}.php
3.Inside the file put the code.


<?php
   /*
   Template Name: {your-templete-name}
   */
?>

4.Then Go to Create a page and click on the drop-down then you can see your Page template appear here.