Create a Child Theme In Wordpress

Step:1 Create a child theme folder

ØFirst, create a new folder in your themes directory, located at wp-content/themes.
ØThe directory needs a name. It’s best practice to give a child theme the same name as the parent, but with -child appended to the end. For eg. Parent theme is kickstart then put its chield theme as kickstart-child.

Step:2 Create a stylesheet: style.css

ØThis tells WordPress basic info about the theme, including the fact that it is a child theme with a particular parent.
ØThe following information is required:
· Theme Name – needs to be unique to your theme
· Template –  the name of the parent theme directory

Step:3 Create a functions.php file

ØCreating a functions.php file is optional. It is only needed if you intend to add additional PHP code to your theme. 

Comments

Popular posts from this blog

Application ld json data in shopify

on_sent_ok not working in Contact Form 7 version 5.0.2

Make carousel slider in shopify