{"id":10,"date":"2026-08-17T22:53:00","date_gmt":"2026-08-17T22:53:00","guid":{"rendered":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/2026\/08\/17\/child-theme\/"},"modified":"2026-08-17T22:53:00","modified_gmt":"2026-08-17T22:53:00","slug":"child-theme","status":"publish","type":"post","link":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/2026\/08\/17\/child-theme\/","title":{"rendered":"Child Themes"},"content":{"rendered":"<p>Edit template files through a child theme. Editing Child Education directly means losing your work the next time the theme updates.<\/p>\n<h2>Creating one<\/h2>\n<p>Create <code>\/wp-content\/themes\/child-education-child\/<\/code> containing a single <code>style.css<\/code>:<\/p>\n<pre><code>\/*\nTheme Name: Child Education Child\nTemplate: child-education\nVersion: 1.0\n*\/<\/code><\/pre>\n<p>The <code>Template:<\/code> line must read exactly <code>child-education<\/code> \u2014 that is what links the child to the parent.<\/p>\n<p>Then add <code>functions.php<\/code> to load both stylesheets:<\/p>\n<pre><code>&lt;?php\nadd_action( 'wp_enqueue_scripts', function () {\n    wp_enqueue_style( 'child-education-parent', get_template_directory_uri() . '\/style.css' );\n    wp_enqueue_style(\n        'child-education-child',\n        get_stylesheet_uri(),\n        array( 'child-education-parent' ),\n        wp_get_theme()-&gt;get( 'Version' )\n    );\n} );<\/code><\/pre>\n<p>Activate the child under <strong>Appearance \u2192 Themes<\/strong>. Customizer settings are stored per theme, so you will need to set them again after switching.<\/p>\n<h2>Overriding a template<\/h2>\n<p>Copy the file from the parent into the child, keeping the same path \u2014 for example <code>page-full-width.php<\/code> \u2014 and edit the copy. WordPress uses the child&#8217;s version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Edit template files through a child theme. Editing Child Education directly means losing your work the next time the theme updates. Creating one Create \/wp-content\/themes\/child-education-child\/ containing a single\u2026<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":0,"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.fasterthemes.com\/child-education-wordpress-theme\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}