{"id":2361,"date":"2015-01-11T16:04:07","date_gmt":"2015-01-11T16:04:07","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=2361"},"modified":"2015-03-31T09:39:57","modified_gmt":"2015-03-31T09:39:57","slug":"child-themes","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/child-themes\/","title":{"rendered":"Child Themes"},"content":{"rendered":"<p>Here are my notes on WordPress <em>Child Themes<\/em>. I made one for zbench and am now working with Nulis. The key wordpress codex page is <a href=\"http:\/\/codex.wordpress.org\/Child_Themes\">here&#8230;<\/a>. It documents how to create a child theme. The technique for defining inheritance has changed<!--more--> between the time when I made for the zbench child theme and today, when I first started to try to customise nulis. The new technique requires a function.php file in the child theme folder which has code to control the order in which the parent and child files, including the CSS are loaded.<\/p>\n<p>I ran <a href=\"https:\/\/www.google.co.uk\/search?q=wordpress+child+themes&amp;ie=utf-8&amp;oe=utf-8&amp;gws_rd=cr&amp;ei=v8HQVKrYNcuR7Abt4YCwDQ\">a google query with the keywords &#8220;wordpress child themes&#8221;<\/a>.<\/p>\n<blockquote><p>Hongkiat have <a href=\"http:\/\/www.hongkiat.com\/blog\/wordpress-child-themes-dev\/\">an article on developing with child themes<\/a>.<\/p><\/blockquote>\n<p>I returned to this in Feb &#8217;02 when I needed to perform significant surgery on the simple theme. Here are some links I found useful.<\/p>\n<ol>\n<li><a href=\"http:\/\/codex.wordpress.org\/Child_Themes\">http:\/\/codex.wordpress.org\/Child_Themes<\/a><\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/Commenting_Code\">http:\/\/codex.wordpress.org\/Commenting_Code<\/a><\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/images\/9\/96\/wp-template-hierarchy.jpg\">http:\/\/codex.wordpress.org\/images\/9\/96\/wp-template-hierarchy.jpg<\/a><\/li>\n<li><a href=\"https:\/\/thethemefoundry.com\/blog\/edit-wordpress-theme-html\/\">https:\/\/thethemefoundry.com\/blog\/edit-wordpress-theme-html\/<\/a><\/li>\n<li><a href=\"http:\/\/www.sitepoint.com\/create-your-own-wordpress-theme-from-an-html-template\/\">http:\/\/www.sitepoint.com\/create-your-own-wordpress-theme-from-an-html-template\/<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Here are my notes on WordPress Child Themes. I made one for zbench and am now working with Nulis. The key wordpress codex page is here&#8230;. It documents how to create a child theme. The technique for defining inheritance has changed<\/p>\n","protected":false},"author":1,"featured_media":2438,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[3,584],"tags":[128,780,911,28,53],"class_list":["post-2361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","category-wordpress-technology","tag-child-themes","tag-nulis","tag-technology","tag-wordpress","tag-zbench"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2015\/01\/m-c-w650.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=2361"}],"version-history":[{"count":1,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2361\/revisions"}],"predecessor-version":[{"id":2362,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2361\/revisions\/2362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/2438"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=2361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=2361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=2361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}