{"id":820,"date":"2022-12-04T08:23:55","date_gmt":"2022-12-04T08:23:55","guid":{"rendered":"https:\/\/loftocean.com\/doc\/patiotime\/?post_type=ptkb&#038;p=820"},"modified":"2023-09-08T08:12:09","modified_gmt":"2023-09-08T08:12:09","slug":"child-theme","status":"publish","type":"ptkb","link":"https:\/\/loftocean.com\/doc\/cozystay\/ptkb\/child-theme\/","title":{"rendered":"Child Theme"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"820\" class=\"elementor elementor-820\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-59cb56c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"59cb56c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6d972f8\" data-id=\"6d972f8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-37abb99 elementor-widget elementor-widget-text-editor\" data-id=\"37abb99\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If you are going to write custom code for the theme, please use\u00a0<strong>Child Theme<\/strong>.<\/p><p>A child theme is a theme that inherits the functionality and styling of the parent theme. Child themes are the recommended way of modifying an existing theme.<\/p><p>Please download the whole package of CozyStay theme (not just the installable WordPress theme zip file), unzip it and you will find\u00a0<strong>WordPress Child Theme &gt; cozystay-child.zip<\/strong>. Install the parent theme first, then install the child theme, and activate the child theme.<\/p><p>Then you can change code or write your own custom styles for the theme in the child theme files. Later when you need to update the theme, just update cozystay.zip (the parent theme), so your custom code changes will not be overwritten (because they are all in the child theme).<\/p><p>You may like to read more regarding the child themes on official WordPress codex page:\u00a0<a href=\"https:\/\/codex.wordpress.org\/Child_Themes\" target=\"_blank\" rel=\"noopener\">https:\/\/codex.wordpress.org\/Child_Themes<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d892e17 elementor-widget elementor-widget-text-editor\" data-id=\"d892e17\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span class=\"highlighted\">Please note:<\/span>\u00a0Writing custom code for your child theme is related to\u00a0<strong>Item Customization<\/strong>\u00a0which is not included in the support we could provide.\u00a0<a href=\"https:\/\/loftocean.com\/doc\/cozystay\/ptkb\/what-is-item-support-service\/#we-cannot-help-with\">More details can be found here.<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"menu_order":0,"template":"","ptkb_category":[5],"class_list":["post-820","ptkb","type-ptkb","status-publish","hentry","ptkb_category-item-customization"],"_links":{"self":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb\/820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb"}],"about":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/types\/ptkb"}],"version-history":[{"count":2,"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb\/820\/revisions"}],"predecessor-version":[{"id":1283,"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb\/820\/revisions\/1283"}],"wp:attachment":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/media?parent=820"}],"wp:term":[{"taxonomy":"ptkb_category","embeddable":true,"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb_category?post=820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}