{"id":266,"date":"2018-10-04T10:21:17","date_gmt":"2018-10-04T04:51:17","guid":{"rendered":"https:\/\/awpguide.com\/?p=266"},"modified":"2018-12-07T22:32:50","modified_gmt":"2018-12-07T17:02:50","slug":"how-to-create-wordpress-child-theme","status":"publish","type":"post","link":"https:\/\/awpguide.com\/wp-guides\/how-to-create-wordpress-child-theme\/","title":{"rendered":"How To Create WordPress Child Theme"},"content":{"rendered":"

Last day, we have shared how can you change WordPress theme name<\/a>. After reading that post, one of our users asked how to create a custom WordPress child theme. In this post, we are going to show you how can you create WordPress child theme using a simple plugin.<\/p>\n

Why Use a Child Theme?<\/h4>\n

If you are using a parent theme on your blog, you are doing a big mistake. Wondering what? It is a simple fact.<\/p>\n

In most cases, we will add custom functions\u00a0and styling to our WordPress theme. So, when the official theme author updates the theme with a new one, we will lose all custom codes and styling.<\/p>\n

If you re using a child theme instead, you will not lose any of the functions. Because your child theme will not get updated. Only the parent theme will get updated. Simple and clear.<\/p>\n

How To\u00a0Create WordPress Child Theme<\/h4>\n

First of all, log in to your WordPress dashboard, go to add new plugins section. You need to install the Child Themify<\/a> plugin.<\/p>\n

\"Create<\/p>\n

After installing, activate the plugin.<\/p>\n

\"activate<\/p>\n

You can find the plugin settings under the appearance menu.<\/p>\n

\"child<\/p>\n

From the drop-down, choose any theme that you need to make it parent. In my case, I wish to choose the Starter<\/a> theme by HappyThemes<\/a>. Name your new child theme.<\/p>\n

\"rename<\/p>\n

Click on the show advance field button. You can enter the theme author name on the section.<\/p>\n

\"child<\/p>\n

Choose extra theme files that you need to add. We highly recommend you importing the header.php file to your WordPress child theme. So, you will be able to add Google analytics code or meta colour on it. After selecting custom theme files, you need to click on create child theme button.<\/p>\n

\"create<\/p>\n

Within a few seconds, your new WordPress child theme will be created.<\/p>\n

\"wordpress<\/p>\n

From the themes section, you can see it.<\/p>\n

\"child<\/p>\n

Activate the theme for watching the live effect.<\/p>\n

\"new<\/p>\n

if you check the WordPress theme editor, you can see mainly 2 files, style.css and functions file. Also if you import any file from the parent theme, you will see that file too there.<\/p>\n

\"child<\/p>\n

That’s it! This is how you can create WordPress child theme using the child themify plugin.<\/p>\n

Do I Need To Keep The Plugin Forever?<\/h4>\n

No, you don’t need it.<\/p>\n

After creating a child theme, you can deactivate and delete the plugin from the blog. No worries.<\/p>\n

We hope you learned how to create WordPress child theme through this post and enjoyed the read. if you did, please consider sharing this post with your friends on social media.<\/p>\n

Also for more related posts, you need to check out our blog section<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

Last day, we have shared how can you change WordPress theme name. After reading that post, one of our users … <\/p>\n

Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":276,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/posts\/266"}],"collection":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":0,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/posts\/266\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/media\/276"}],"wp:attachment":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/media?parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/categories?post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/tags?post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}