{"id":14571,"date":"2012-09-25T23:01:49","date_gmt":"2012-09-25T15:01:49","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=14571"},"modified":"2025-04-04T01:12:32","modified_gmt":"2025-04-03T17:12:32","slug":"wordpress-child-themes-dev","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/","title":{"rendered":"A Guide To: WordPress Child Themes Development"},"content":{"rendered":"<p>There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on top of another existing theme. This is perfect for beginners who want to play around with building their own themes.<\/p>\n<p>Additionally many premium designs will release new updates over time. If you are making changes to core theme files they will be overwritten when performing an update, but child themes are separate and neatly tucked away. This means you can build off existing premium themes and save loads of time in the process.<\/p>\n<p>In this guide I want to introduce the basic concepts of building a WordPress child theme and why it\u2019s such a good idea.<\/p>\n<p class=\"note\"><strong>Recommended Reading:<\/strong> <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/beginners-guide-to-wordpress-plugin-development\/\" rel=\"noopener noreferrer\">Beginner\u2019s Guide to WordPress Plugin Development<\/a><\/p>\n<h2>Getting Started<\/h2>\n<p>Child themes are not as difficult as they may appear. The benefits of working off a parent theme means you don\u2019t need to write all the HTML\/CSS from scratch. A child theme will automatically use any template files you include, such as <code>sidebar.php<\/code> or <code>footer.php<\/code>. But if they are missing, then your child theme will pull the same files from its parent.<\/p>\n<p>This functionality offers an enormous amount of freedom to customize already existing templates. It\u2019s also great for touching up areas around your website for special events, such as adding design patterns for Christmas or New Years.<\/p>\n<h3>Your Required Files<\/h3>\n<p>You only need a single .css stylesheet to set up a child theme in WordPress. You also need to create a new directory in the <code>\/wp-content\/themes<\/code> folder which will house your child theme. Pay attention that you <strong>aren\u2019t<\/strong> creating this folder inside the parent theme, but right alongside with it in the same themes directory.<\/p>\n<p>Developers will often include a functions.php and screenshot.png in the same folder as your new CSS file. The screenshot is displayed in your WordPress admin panel and the functions theme file can be used for tons of backend changes.<\/p>\n<p>But for now we should focus on the main stylesheet. This is commonly named <strong>style.css<\/strong> and includes a comment header with key meta information. This is important because your theme will only display as a child if you include the parent\u2019s directory name. Below is an example header comment:<\/p>\n<pre>\r\n\/*\r\nTheme Name:   Twenty Eleven Child\r\nTheme URI:   http: \/\/example.com\/\r\nDescription:  Child theme for the Twenty Eleven design\r\nAuthor:     Jake Rocheleau\r\nAuthor URI:   http: \/\/www.hongkiat.com\/blog\/\r\nTemplate:    twentyeleven\r\nVersion:    0.1\r\n*\/\r\n<\/pre>\n<p>The value for <strong>template<\/strong> should be the directory name for the accompanied parent theme. Other than that all the other tags should be familiar to standard WordPress theming.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/twenty-eleven-theme-wordpress.jpg\" alt=\"Newest demo 2011 twenty eleven theme\"><\/figure>\n<p>Although all the parent PHP templates will be used, the original parent\u2019s style.css will <strong>not<\/strong> be imported automatically. If you want to work off the original styles you\u2019ll have to include it at the top of your child\u2019s style.css document. Below is an example including the WP Twenty Eleven theme.<\/p>\n<pre>\r\n@import url(\"..\/twentyeleven\/style.css\");\r\n<\/pre>\n<h2>Setting Up New Styles<\/h2>\n<p>Applying CSS rules to your theme is just as easy as editing the original. If you know which elements you need to target then use the same selectors in your own child theme.<\/p>\n<p>We could demo with some really easy changes to links and paragraphs. I\u2019ve used code from the original Twenty Eleven theme for targeting the different elements. At times it is necessary to use a more specific selector to override the older design.<\/p>\n<pre>\r\nbody {\r\n\tpadding: 0 1.4em;\r\n}\r\n#page {\r\n\tmargin: 1.667em auto;\r\n\tmax-width: 900px;\r\n}\r\n\r\na {\r\n\tcolor: #5281df;\r\n\ttext-decoration: none;\r\n\tfont-family: Calibri, Tahoma, Arial, sans-serif;\r\n}\r\na:focus,\r\na:active,\r\na:hover {\r\n\ttext-decoration: underline;\r\n}\r\n<\/pre>\n<p>In these changes I\u2019ve reduced the overall body size and also removed some padding from the edges. All of these selectors can be found listed in the original .css document. It\u2019s notable that I\u2019m also changing some properties for all anchor links which include a different font stack and color choice.<\/p>\n<h3>The !important Things<\/h3>\n<p>CSS has a special declaration to mark priority above other styles. The syntax is displayed as <code>!important<\/code> beginning with the exclamation mark and terminating at the end of your CSS property. This is necessary if you have cascading styles from a parent theme which are overriding your own custom rules.<\/p>\n<pre>\r\na {\r\n\tcolor: #5281df !important;\r\n\ttext-decoration: none;\r\n\tfont-family: Calibri, Tahoma, Arial, sans-serif;\r\n}\r\n<\/pre>\n<p>Above I have copied my original changes and edited the anchor text color with an important clause. This will take precedence over all other styles of the same selector depth. More defined elements (such as <code>#access li:hover &gt; a<\/code>) will usually hold their own styles unless the <code>color<\/code> was still inherited from our original selector. In this case our parent theme does not setup a font-family property on anchor links, so as such we don\u2019t run into any inheritance issues.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/css-important-properties-screen.jpg\" alt=\"CSS !important properties syntax\"><\/figure>\n<p>If you are having trouble making your changes stick, try popping one of these important marks at the end of your property statement. This isn\u2019t a perfect fix for every inheritance problem, but it does come in handy a lot more frequently than you\u2019d think.<\/p>\n<h2>Cloning functions.php<\/h2>\n<p>Unlike the main stylesheet, your child theme will import its parent\u2019s functions automatically. This means you don\u2019t need to copy over any of the PHP code to still have it active in your new theme. Yet if you\u2019d like to re-define some of the functions you can build another functions.php and write in your new code with any changes.<\/p>\n<p>As an example I have built a function which parses a few JavaScript files when the template initiates. This will remove any older versions of jQuery and SWFObject scripts, while simultaneously adding the most recent versions to the <code>wp_head<\/code> area.<\/p>\n<pre>\r\n\/\/ queue js files for load\r\nfunction mytheme_js() \r\n{\r\n if (is_admin()) return;\r\n\r\n wp_deregister_script('jquery');\r\n wp_register_script('jquery', 'http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.7.1\/jquery.min.js');\r\n wp_enqueue_script('jquery');\r\n\r\n wp_deregister_script('swfobject');\r\n wp_register_script('swfobject', 'http:\/\/ajax.googleapis.com\/ajax\/libs\/swfobject\/2.2\/swfobject.js');\r\n wp_enqueue_script('swfobject');\r\n}\r\nadd_action('init', mytheme_js);\r\n<\/pre>\n<p>I should point out that if you are importing code from the parent functions.php then you\u2019ll have to use a different function name. Otherwise PHP will give out a fatal error and you will have to FTP into the server to fix the mistake.<\/p>\n<h2>Working with Theme Files<\/h2>\n<p>The most broad category of theming is building custom layouts and page types. By default your child theme will inherit all of its parent\u2019s theme files. But you have the option of creating new child theme files and WP will register these as the \u2018primary\u2019 template.<\/p>\n<p>For example <strong>archive.php<\/strong> and <strong>index.php<\/strong> are used to display the post archives and homepage screen, respectively. If there are changes you\u2019d like to make which require edits to the HTML then you\u2019d be safer cloning the parent files and editing them in the child\u2019s theme directory.<\/p>\n<h3>Custom Page Templates<\/h3>\n<p>While we\u2019re talking about template files I also want to introduce a piece of WordPress functionality which many are not familiar with. You can build page and post templates which will be selectable from the Admin panel when creating new content. Even if the parent theme doesn\u2019t have the new custom template file WordPress will still use the child in place of a <strong>page.php<\/strong> or <strong>single.php<\/strong>.<\/p>\n<p>First create a new file named page-offer.php. This will be a \u201cspecial offer\u201d promotional page which is themed differently than all the others. In here you can copy over your original page code or even build the theme entirely from scratch. The only code we need to let WordPress know about this new template is a comment setup in PHP.<\/p>\n<pre>\r\n&lt;?php \r\n\/** \r\n * Template Name: Offer\r\n *\/ \r\n\r\n?&gt;\r\n<\/pre>\n<p>Another alternative to this method is building custom pages named after the unique ID number. So instead of loading the default <strong>archive.php<\/strong> for author pages you could create a file such as <strong>author-ID.php<\/strong> where ID is the user\u2019s unique WordPress ID number. Although this system is more taxing since you\u2019d need to create a new template file for each of the authors on your site.<\/p>\n<p>It becomes more useful if you can combine these two techniques with other template files. Notably categories and tags work well using their own theme files. Also if you link to attachments in your content then you\u2019ll want to consider the different possible template layouts for each mime type. I included the template hierarchy below for a simple JPEG image attachment:<\/p>\n<ul>\n<li>image.php<\/li>\n<li>jpeg.php<\/li>\n<li>image_jpeg.php<\/li>\n<li>attachment.php<\/li>\n<\/ul>\n<h2>Additional Resources<\/h2>\n<p>Along with all the tips in this guide I want to share a set of important links for theme developers. There are already so many great articles and free child themes you can check out to study deeper into this subject. I added a wonderful collection of these resources below:<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/graphpaperpress.com\/blog\/how-to-create-a-child-theme-for-the-base-theme-for-wordpress\/\" rel=\"noopener noreferrer\">How to build a WordPress Child Theme using Hooks and Filters<\/a><\/li>\n<li><a target=\"_blank\" href=\"https:\/\/woocommerce.com\/2011\/04\/a-few-words-on-child-themes\/\" rel=\"noopener noreferrer\">A Few Words on Child Themes<\/a><\/li>\n<li><a target=\"_blank\" href=\"http:\/\/www.doitwithwp.com\/what-why-how-child-themes-wordpress\/\" rel=\"noopener noreferrer\">How to Create, Modify, and Use Child Themes in WordPress<\/a><\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>I hope the process of building WordPress child themes is clearer for you after reading this article. I\u2019ve tried to explain how child themes can inherit both CSS and PHP templates from a parent. Additionally it\u2019s very simple to manipulate specific files and create your own unique themes.<\/p>\n<p>The WordPress 3.0 release featured a lot more integrated support for child themes. It\u2019s such a powerful time to move into WP development. Try out these tricks on your own site and see if you can build a complementary child theme. Also if you\u2019ve built any great child themes in the past we would love to check them out. Let us know your thoughts and suggestions in the post comments area.<\/p>","protected":false},"excerpt":{"rendered":"<p>There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on top of another existing theme. This is perfect for beginners who want to play around with building their own themes. Additionally many premium designs will release new updates over&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49],"tags":[4663,252],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>A Guide To: WordPress Child Themes Development - Hongkiat<\/title>\n<meta name=\"description\" content=\"There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Guide To: WordPress Child Themes Development\" \/>\n<meta property=\"og:description\" content=\"There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-25T15:01:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T17:12:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/twenty-eleven-theme-wordpress.jpg\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"A Guide To: WordPress Child Themes Development\",\"datePublished\":\"2012-09-25T15:01:49+00:00\",\"dateModified\":\"2025-04-03T17:12:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/\"},\"wordCount\":1478,\"commentCount\":57,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-child-themes-dev\\\/twenty-eleven-theme-wordpress.jpg\",\"keywords\":[\"ad-divi\",\"WordPress Tips\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/\",\"name\":\"A Guide To: WordPress Child Themes Development - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-child-themes-dev\\\/twenty-eleven-theme-wordpress.jpg\",\"datePublished\":\"2012-09-25T15:01:49+00:00\",\"dateModified\":\"2025-04-03T17:12:32+00:00\",\"description\":\"There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-child-themes-dev\\\/twenty-eleven-theme-wordpress.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-child-themes-dev\\\/twenty-eleven-theme-wordpress.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-child-themes-dev\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Guide To: WordPress Child Themes Development\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"A Guide To: WordPress Child Themes Development - Hongkiat","description":"There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/","og_locale":"en_US","og_type":"article","og_title":"A Guide To: WordPress Child Themes Development","og_description":"There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on","og_url":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2012-09-25T15:01:49+00:00","article_modified_time":"2025-04-03T17:12:32+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/twenty-eleven-theme-wordpress.jpg","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"A Guide To: WordPress Child Themes Development","datePublished":"2012-09-25T15:01:49+00:00","dateModified":"2025-04-03T17:12:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/"},"wordCount":1478,"commentCount":57,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/twenty-eleven-theme-wordpress.jpg","keywords":["ad-divi","WordPress Tips"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/","url":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/","name":"A Guide To: WordPress Child Themes Development - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/twenty-eleven-theme-wordpress.jpg","datePublished":"2012-09-25T15:01:49+00:00","dateModified":"2025-04-03T17:12:32+00:00","description":"There are a number of reasons that WordPress developers are starting to use child themes. They give you the opportunity to customize a unique layout on","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/twenty-eleven-theme-wordpress.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-child-themes-dev\/twenty-eleven-theme-wordpress.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A Guide To: WordPress Child Themes Development"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-3N1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/14571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=14571"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/14571\/revisions"}],"predecessor-version":[{"id":73543,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/14571\/revisions\/73543"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=14571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=14571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=14571"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=14571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}