{"id":6213,"date":"2015-02-19T14:26:16","date_gmt":"2015-02-19T14:26:16","guid":{"rendered":"http:\/\/klearvue.com\/blog\/?p=6213"},"modified":"2018-01-20T00:25:49","modified_gmt":"2018-01-20T00:25:49","slug":"what-is-a-child-theme-and-why-do-i-care","status":"publish","type":"post","link":"https:\/\/www.klearvueit.com\/blog\/what-is-a-child-theme-and-why-do-i-care\/","title":{"rendered":"What Is A Child Theme and Why Do I Care?"},"content":{"rendered":"<h2>[su_pullquote]In WordPress, a child theme is a theme that derives its functionality and style from another theme, called the parent theme.[\/su_pullquote]<\/h2>\n<h2><img loading=\"lazy\" class=\"aligncenter wp-image-6233 size-medium\" src=\"https:\/\/klearvue.com\/blog\/wp-content\/uploads\/2015\/02\/child-300x258.png\" alt=\"child theme\" width=\"300\" height=\"258\" \/>Child, Parent and Framework<\/h2>\n<p>Creating a Child theme is the WordPress industry-standard method of<em> modifying an existing theme.<\/em> If you\u2019d like to customize a theme, especially a theme based on a framework (like Genesis, for example) the accepted approach is to use a child theme. A child theme is a separate theme and contains all of your specific customizations. The idea is that if the parent theme is ever updated (and WordPress is frequently), your modifications are not lost.<br \/>\nIt is important to note that a theme framework is not an actual theme but rather a &#8220;drop-in&#8221; code library that is used to facilitate development of a Theme.<br \/>\nA theme framework is not a stand-alone theme and cannot operate independent of a theme. Its library of functions is included (bootstrapped) in a theme&#8217;s files to quickly boost design and functionality of the new theme. Twitter Bootstrap is a popular example of a &#8220;drop-in&#8221; code library.<\/p>\n<p>Twitter Bootstrap is a popular theme framework.\u00a0Sandbox, Thematic and WP Framework are other examples of theme frameworks.\u00a0A<em> stand-alone<\/em> or <em>base<\/em> theme is a Theme that has all of the necessary files to run as a separate install. Such a theme can operate independent of a parent theme.\u00a0The Twentyfifteen (currently the default) WordPress theme is an example of a stand-alone theme. It is a parent theme since child themes can be built upon it.<\/p>\n<h2>So why should I use child themes rather than modifying the parent theme?<\/h2>\n<p><strong>1. Retain your custom modifications.<\/strong><br \/>\nWordpress is constantly being updated and improved. It is one of the most attractive features. However If you modify a theme directly you will lose your customizations when WordPress is updated. By using a child theme you will ensure that your modifications are preserved.<br \/>\n<strong>2. More easily track your work on a specific project<\/strong><br \/>\nFor developers a child theme, by keeping your changes separate, you can more easily track your work on a specific project.<br \/>\n<strong>3. Speed up development time on future projects.<\/strong><br \/>\n<strong>4. Use of child themes is accepted industry practice.<\/strong><\/p>\n<p><strong>Conclusion<\/strong><br \/>\nAs a professional developer, you should definitely follow industry standards (even if you are not, its a good practice). Creating child themes is an organized and productive way to use WordPress. If you&#8217;re still not convinced, consider this. One day you are going to ask a third party to fix a WordPress problem for you. Then you will have to hear: &#8220;Why didn&#8217;t you put your modifications in a child theme?&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[su_pullquote]In WordPress, a child theme is a theme that derives its functionality and style from another theme, called the parent theme.[\/su_pullquote] Child, Parent and Framework Creating a Child theme is the WordPress industry-standard method of modifying an existing theme. If you\u2019d like to customize a theme, especially a theme based on a framework (like Genesis, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.klearvueit.com\/blog\/what-is-a-child-theme-and-why-do-i-care\/\"> <span class=\"screen-reader-text\">What Is A Child Theme and Why Do I Care?<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":6233,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[22,24],"tags":[64,72,119,128,214,298],"uagb_featured_image_src":{"full":["https:\/\/www.klearvueit.com\/blog\/wp-content\/uploads\/2015\/02\/child.png",302,260,false],"thumbnail":["https:\/\/www.klearvueit.com\/blog\/wp-content\/uploads\/2015\/02\/child-150x150.png",150,150,true],"medium":["https:\/\/www.klearvueit.com\/blog\/wp-content\/uploads\/2015\/02\/child-300x258.png",300,258,true],"medium_large":["https:\/\/www.klearvueit.com\/blog\/wp-content\/uploads\/2015\/02\/child.png",302,260,false],"large":["https:\/\/www.klearvueit.com\/blog\/wp-content\/uploads\/2015\/02\/child.png",302,260,false],"1536x1536":["https:\/\/www.klearvueit.com\/blog\/wp-content\/uploads\/2015\/02\/child.png",302,260,false],"2048x2048":["https:\/\/www.klearvueit.com\/blog\/wp-content\/uploads\/2015\/02\/child.png",302,260,false]},"uagb_author_info":{"display_name":"K Wayne","author_link":"https:\/\/www.klearvueit.com\/blog\/author\/kwayne\/"},"uagb_comment_info":0,"uagb_excerpt":"[su_pullquote]In WordPress, a child theme is a theme that derives its functionality and style from another theme, called the parent theme.[\/su_pullquote] Child, Parent and Framework Creating a Child theme is the WordPress industry-standard method of modifying an existing theme. If you\u2019d like to customize a theme, especially a theme based on a framework (like Genesis,&hellip;","_links":{"self":[{"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/posts\/6213"}],"collection":[{"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/comments?post=6213"}],"version-history":[{"count":1,"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/posts\/6213\/revisions"}],"predecessor-version":[{"id":9527,"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/posts\/6213\/revisions\/9527"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/media\/6233"}],"wp:attachment":[{"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/media?parent=6213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/categories?post=6213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.klearvueit.com\/blog\/wp-json\/wp\/v2\/tags?post=6213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}