Hello All,
Here Simple Create Child theme in wordpss and how to create template in Wordpress.
Here I see the example of make child theme twentythirteen. same step use you can
create any of theme child theme.
Use Of child theme.
Child theme very usefull. because some time theme have update. we can update it theme
then you can change stucture is removed. but you can make child theme can be usefull.
Simple Follow Step you can create child theme in wordpress Easily.
Step:1
First Goto Wordpress Theme Folder.=>/wp-content/themes/
Then Create child Theme Like I am Create thirteenchild Folder.
Step:2
Here Simple create style.css and add the below code.
/*
Theme Name: twentythirteenchild
Theme URI: http://myphpinformation.blogspot.in
Author: coder
Author URI: http://myphpinformation.blogspot.in
Template: twentythirteen
Version: 0.1
*/
@import url("../twentythirteen/style.css");
Step:3
After login your dashboard (wordpress Admin)
Go To :=> Appearance > Themes
and active your theme child theme. here theme name is twentythirteenchild.
Second How to create template in wordpress.
Step1:-
you want to create template. you just copy page.php file or create new page
if you want to create page template it's better to copy page.php file.
Step2 :
page.php ot new page add below code in header.
<?php /* Template Name: My Custom Page */ ?>
check it wp-admin page=>edit or new page you can see On the right hand side under attributes you’ll see template.
Here Simple Create Child theme in wordpss and how to create template in Wordpress.
Here I see the example of make child theme twentythirteen. same step use you can
create any of theme child theme.
Use Of child theme.
Child theme very usefull. because some time theme have update. we can update it theme
then you can change stucture is removed. but you can make child theme can be usefull.
Simple Follow Step you can create child theme in wordpress Easily.
Step:1
First Goto Wordpress Theme Folder.=>/wp-content/themes/
Then Create child Theme Like I am Create thirteenchild Folder.
Step:2
Here Simple create style.css and add the below code.
/*
Theme Name: twentythirteenchild
Theme URI: http://myphpinformation.blogspot.in
Author: coder
Author URI: http://myphpinformation.blogspot.in
Template: twentythirteen
Version: 0.1
*/
@import url("../twentythirteen/style.css");
Step:3
After login your dashboard (wordpress Admin)
Go To :=> Appearance > Themes
and active your theme child theme. here theme name is twentythirteenchild.
Second How to create template in wordpress.
Step1:-
you want to create template. you just copy page.php file or create new page
if you want to create page template it's better to copy page.php file.
Step2 :
page.php ot new page add below code in header.
<?php /* Template Name: My Custom Page */ ?>
check it wp-admin page=>edit or new page you can see On the right hand side under attributes you’ll see template.
0 komentar:
Post a Comment