2014-01-03_1017

 

Step 1 :

-> Create ‘template.php’ file in this directory
-> Directory : project/wp-content/themes/yourtheme/
-> This code is insert in ‘template.php’.

—————————————————–
<?php
/*
Template Name:home
*/
?>
<?php get_header(); ?>
<!–  Insert page content  –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
—————————————————–

Step 2 :

-> Open admin -> pages -> create new -> insert title ( Home ).
-> Right bar in select template drop-down in your created template ( home ).

————————-
<?php
/*
Template Name:home
*/
?>
————————-

-> Save.

Advertisements