{"id":10666,"date":"2017-02-09T10:20:55","date_gmt":"2017-02-09T10:20:55","guid":{"rendered":"https:\/\/wpopal.com\/?p=10666"},"modified":"2017-02-09T10:20:55","modified_gmt":"2017-02-09T10:20:55","slug":"how-to-create-child-theme-for-wordpress-theme","status":"publish","type":"post","link":"http:\/\/dev.wpopal.com\/wpopal\/how-to-create-child-theme-for-wordpress-theme\/","title":{"rendered":"How to create child theme for WordPress Theme"},"content":{"rendered":"<p>Hey guys,<br \/>\nFor any people have ever used WordPress, the concept <strong>&#8220;Child Theme&#8221;<\/strong> is not strange with them. So why we have to create child theme? As we know, when using themes we usually have trend to fix directly on theme something like Css, code inside. However this is very dangerous if later we update new version,\u00a0those changes will lose because the files of the new version override<br \/>\nTherefor, creating child theme will help you feel comfortable to change code and Css without worrying to lose any\u00a0changes you made\u00a0before because when you update theme, you only need to update parent theme and keep child theme. For this issue, there are some our customers meeting problems in creating child theme. So today <a class=\"green\" href=\"https:\/\/themeforest.net\/user\/opal_wp\" rel=\"nofollow noopener\" target=\"_blank\">WPOpal<\/a> will spend a little time introducing everyone <strong>How to create child theme for\u00a0WordPress Theme on <\/strong><a class=\"green\" href=\"https:\/\/themeforest.net\/item\/greengive-fundraising-charity-wordpress-theme\/19299465?ref=opal_wp\" rel=\"nofollow noopener\" target=\"_blank\">Greengive\u00a0&#8211; Fundrasing &amp; Charity WordPress Theme<\/a><strong>\u00a0<\/strong>. Hoping through this article, you can know more about it and use fluently.<br \/>\n<strong>Step 1: Go to Plugins -&gt; Add new -&gt; One Click Child Theme -&gt; Install -&gt; Active<\/strong><\/p>\n<p style=\"text-align: center;\"><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-10668 aligncenter\" src=\"https:\/\/wpopal.com\/wp-content\/uploads\/2017\/02\/1.jpg\" alt=\"\" width=\"700\" height=\"469\" title=\"\"><\/p>\n<p><strong>Step 2: Go to Appearance -&gt; Child theme -&gt; Create a child theme<\/strong><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"size-full wp-image-10669 aligncenter\" src=\"https:\/\/wpopal.com\/wp-content\/uploads\/2017\/02\/2.jpg\" alt=\"\" width=\"700\" height=\"508\" title=\"\"><\/p>\n<p>Now theme you are active is Child theme.<br \/>\n<strong>Step 3: Install\u00a0Widget Settings Importer\/Exporter<\/strong> to import Setting of all widgets from Parent theme to child theme so that your child theme can inherit all widgets setting from parent theme<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-full wp-image-10670 aligncenter\" src=\"https:\/\/wpopal.com\/wp-content\/uploads\/2017\/02\/3.jpg\" alt=\"\" width=\"700\" height=\"491\" title=\"\"><\/p>\n<p>Firstly, you go to Theme in <strong>Appearance -&gt; Active Parent theme -&gt; Tools -&gt; Widget Setting Export<\/strong> to export all widget files of Parent theme. The name file is\u00a0widget_data.json<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10671 aligncenter\" src=\"https:\/\/wpopal.com\/wp-content\/uploads\/2017\/02\/4.jpg\" alt=\"\" width=\"700\" height=\"481\" title=\"\"><\/p>\n<p><strong>Step 4: Then Active Child theme -&gt; Tools -&gt; Widget Setting Import<\/strong> -&gt; Import the file we have just saved in Step 3 ( the file widget of parent theme)<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10672 aligncenter\" src=\"https:\/\/wpopal.com\/wp-content\/uploads\/2017\/02\/5.jpg\" alt=\"\" width=\"706\" height=\"588\" title=\"\"><\/p>\n<p><strong>Step 5: Import all widget setting<\/strong>. You have a perfect child theme similar as parent theme<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10674 aligncenter\" src=\"https:\/\/wpopal.com\/wp-content\/uploads\/2017\/02\/6.jpg\" alt=\"\" width=\"700\" height=\"591\" title=\"\"><\/p>\n<p>Now you feel comfortable to change anything about css or code without losing when your website update new version. If you meet any problems in the process of using, pls contact us via some channels such email support: <a class=\"green\" href=\"help@wpopal.com\">help@wpopal.com<\/a><strong>\u00a0<\/strong> or send ticket\u00a0<a class=\"green\" href=\"http:\/\/bit.ly\/2klTrX2\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/bit.ly\/2klTrX2<\/a><strong>\u00a0<\/strong>. Our technical team will reply asap.<br \/>\nThanks a lot!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey guys, For any people have ever used WordPress, the concept &#8220;Child Theme&#8221; is not strange with them. So why we have to create child theme? As we know, when using themes we usually have trend to fix directly on theme something like Css, code inside. However this is very dangerous if later we update [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":30767,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[27],"tags":[],"class_list":["post-10666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/posts\/10666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/comments?post=10666"}],"version-history":[{"count":0,"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/posts\/10666\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/media\/30767"}],"wp:attachment":[{"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/media?parent=10666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/categories?post=10666"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.wpopal.com\/wpopal\/wp-json\/wp\/v2\/tags?post=10666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}