{"id":2638,"date":"2026-10-01T17:09:55","date_gmt":"2026-10-01T11:39:55","guid":{"rendered":"https:\/\/ehostpiya.in\/blog\/?p=2638"},"modified":"2026-10-01T17:09:59","modified_gmt":"2026-10-01T11:39:59","slug":"how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/","title":{"rendered":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_88 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#How_to_Create_a_Child_Theme_in_WordPress_A_Complete_Step-by-Step_Guide\" >How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#What_Is_a_WordPress_Child_Theme\" >What Is a WordPress Child Theme?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Why_Should_You_Use_a_Child_Theme\" >Why Should You Use a Child Theme?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#1_Protects_Your_Customizations\" >1. Protects Your Customizations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#2_Makes_Theme_Updates_Safer\" >2. Makes Theme Updates Safer<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#3_Makes_Customization_Easier_to_Manage\" >3. Makes Customization Easier to Manage<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#4_Allows_Template_Overrides\" >4. Allows Template Overrides<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#What_You_Need_Before_Creating_a_Child_Theme\" >What You Need Before Creating a Child Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_1_Identify_the_Parent_Theme\" >Step 1: Identify the Parent Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_2_Create_a_Child_Theme_Directory\" >Step 2: Create a Child Theme Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_3_Create_the_stylecss_File\" >Step 3: Create the style.css File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_4_Add_Your_Custom_CSS\" >Step 4: Add Your Custom CSS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_5_Create_functionsphp\" >Step 5: Create functions.php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_6_Load_the_Parent_Stylesheet_Properly\" >Step 6: Load the Parent Stylesheet Properly<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_7_Activate_the_Child_Theme\" >Step 7: Activate the Child Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_8_Test_the_Child_Theme\" >Step 8: Test the Child Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_9_Override_a_Parent_Template\" >Step 9: Override a Parent Template<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Step_10_Add_Custom_JavaScript\" >Step 10: Add Custom JavaScript<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Example_Child_Theme_Structure\" >Example Child Theme Structure<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#How_to_Create_a_Child_Theme_Using_a_Plugin\" >How to Create a Child Theme Using a Plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Child_Theme_vs_Parent_Theme\" >Child Theme vs Parent Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Common_Child_Theme_Mistakes\" >Common Child Theme Mistakes<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#1_Incorrect_Template_Name\" >1. Incorrect Template Name<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#2_Copying_the_Parent_functionsphp\" >2. Copying the Parent functions.php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#3_Editing_the_Parent_Theme\" >3. Editing the Parent Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#4_Forgetting_to_Back_Up_the_Website\" >4. Forgetting to Back Up the Website<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#5_Overriding_Too_Many_Files\" >5. Overriding Too Many Files<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#What_Happens_When_the_Parent_Theme_Is_Updated\" >What Happens When the Parent Theme Is Updated?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#When_Should_You_Use_a_Child_Theme\" >When Should You Use a Child Theme?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Child_Themes_and_Block_Themes\" >Child Themes and Block Themes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#How_to_Troubleshoot_a_Child_Theme\" >How to Troubleshoot a Child Theme<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Child_theme_doesnt_appear\" >Child theme doesn&#8217;t appear<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Parent_theme_isnt_recognized\" >Parent theme isn&#8217;t recognized<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Website_styling_is_broken\" >Website styling is broken<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#PHP_error_appears\" >PHP error appears<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Changes_arent_visible\" >Changes aren&#8217;t visible<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Best_Practices_for_WordPress_Child_Themes\" >Best Practices for WordPress Child Themes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Create_a_Child_Theme_in_WordPress_A_Complete_Step-by-Step_Guide\"><\/span>How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Customizing a WordPress theme is one of the easiest ways to change the appearance and functionality of a website. However, directly modifying files in a parent theme can create problems when the theme receives an update. Your custom changes may be overwritten, forcing you to redo your work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A <strong>WordPress child theme<\/strong> solves this problem. It allows you to customize an existing theme while keeping your modifications separate from the original theme files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, you will learn what a child theme is, why you should use one, how to create it manually, and how to customize it safely.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Is_a_WordPress_Child_Theme\"><\/span>What Is a WordPress Child Theme?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A child theme is a separate WordPress theme that inherits most of its design and functionality from another theme called the <strong>parent theme<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The child theme can contain its own:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CSS styles<\/li>\n\n\n\n<li>PHP functions<\/li>\n\n\n\n<li>Template files<\/li>\n\n\n\n<li>JavaScript<\/li>\n\n\n\n<li>Images<\/li>\n\n\n\n<li>Customizations<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">When WordPress loads the website, it uses the child theme first and falls back to the parent theme when a particular file or function is not available.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Parent Theme\n    \u2193\nChild Theme\n    \u2193\nYour Custom Changes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This structure allows you to modify the website without changing the original theme.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Should_You_Use_a_Child_Theme\"><\/span>Why Should You Use a Child Theme?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A child theme is particularly useful when you plan to make code-level customizations.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Protects_Your_Customizations\"><\/span>1. Protects Your Customizations<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The biggest advantage is that your changes remain separate from the parent theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the parent theme is updated, your custom CSS, templates, and functions stored in the child theme normally remain intact.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Makes_Theme_Updates_Safer\"><\/span>2. Makes Theme Updates Safer<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Theme developers regularly release updates containing security fixes, bug fixes, and compatibility improvements. Updating a modified parent theme can overwrite your changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With a child theme, you can update the parent theme without replacing your custom files.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Makes_Customization_Easier_to_Manage\"><\/span>3. Makes Customization Easier to Manage<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of modifying dozens of original theme files, you can keep your customizations inside the child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This makes troubleshooting and maintenance easier.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Allows_Template_Overrides\"><\/span>4. Allows Template Overrides<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can copy selected template files from the parent theme into the child theme and customize them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>parent-theme\/single.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">can be copied to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>child-theme\/single.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress will generally use the child version instead of the parent&#8217;s version.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_You_Need_Before_Creating_a_Child_Theme\"><\/span>What You Need Before Creating a Child Theme<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Before getting started, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A WordPress website<\/li>\n\n\n\n<li>An installed parent theme<\/li>\n\n\n\n<li>Access to your WordPress files<\/li>\n\n\n\n<li>Access to your hosting control panel, FTP, or file manager<\/li>\n\n\n\n<li>Basic knowledge of CSS and PHP if you plan to make advanced changes<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You should also create a backup before modifying theme files.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Identify_the_Parent_Theme\"><\/span>Step 1: Identify the Parent Theme<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">First, determine the theme currently installed on your website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WordPress Dashboard \u2192 Appearance \u2192 Themes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Find the theme you want to customize.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, suppose your parent theme is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mytheme<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Its theme directory might be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/wp-content\/themes\/mytheme\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The exact directory name depends on the theme.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Create_a_Child_Theme_Directory\"><\/span>Step 2: Create a Child Theme Directory<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Open your WordPress installation&#8217;s:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wp-content\/themes\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a new folder for your child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mytheme-child<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Your directory structure should now look similar to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wp-content\/\n\u2514\u2500\u2500 themes\/\n    \u251c\u2500\u2500 mytheme\/\n    \u2514\u2500\u2500 mytheme-child\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Using a descriptive folder name makes it easier to identify the relationship between the parent and child themes.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Create_the_stylecss_File\"><\/span>Step 3: Create the style.css File<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Inside the child theme directory, create a file named:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>style.css<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add a theme header similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/*\nTheme Name: MyTheme Child\nTheme URI: https:\/\/example.com\/\nDescription: Child theme for MyTheme\nAuthor: Your Name\nAuthor URI: https:\/\/example.com\/\nTemplate: mytheme\nVersion: 1.0.0\n*\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The most important line is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Template: mytheme<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The value must match the <strong>directory name of the parent theme<\/strong>, including capitalization where applicable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if the parent theme directory is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>generatepress<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">the child theme should contain:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Template: generatepress<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A mismatch here can prevent WordPress from recognizing the parent theme correctly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Add_Your_Custom_CSS\"><\/span>Step 4: Add Your Custom CSS<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">You can place your custom CSS below the theme header.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.site-title {\n    font-size: 32px;\n    font-weight: 700;\n}\n\n.site-header {\n    padding: 20px;\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This allows you to customize elements without editing the parent theme&#8217;s stylesheet directly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, how stylesheets are loaded can vary between classic and block themes, so for modern WordPress themes you should follow the parent theme&#8217;s recommended child-theme setup where applicable.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Create_functionsphp\"><\/span>Step 5: Create functions.php<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Create another file inside your child theme:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>functions.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike the parent theme&#8217;s <code>functions.php<\/code>, you should <strong>not simply copy the entire parent functions.php file<\/strong> into the child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead, the child theme&#8217;s <code>functions.php<\/code> is loaded in addition to the parent theme&#8217;s functions file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A basic example is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\nfunction mytheme_child_setup() {\n    \/\/ Add child theme customizations here.\n}\nadd_action('after_setup_theme', 'mytheme_child_setup');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can use this file for custom functionality, hooks, filters, and other PHP-based modifications.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_6_Load_the_Parent_Stylesheet_Properly\"><\/span>Step 6: Load the Parent Stylesheet Properly<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">For many classic themes, styles can be loaded using <code>wp_enqueue_style()<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A typical example is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\nfunction mytheme_child_enqueue_styles() {\n    wp_enqueue_style(\n        'parent-style',\n        get_template_directory_uri() . '\/style.css'\n    );\n\n    wp_enqueue_style(\n        'child-style',\n        get_stylesheet_directory_uri() . '\/style.css',\n        array('parent-style'),\n        wp_get_theme()-&gt;get('Version')\n    );\n}\n\nadd_action('wp_enqueue_scripts', 'mytheme_child_enqueue_styles');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This tells WordPress to load the parent stylesheet before the child stylesheet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> Some modern themes use different styling systems, especially block themes. In those cases, copying a traditional child-theme setup may not be appropriate. Check the theme&#8217;s documentation before changing its stylesheet-loading method.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_7_Activate_the_Child_Theme\"><\/span>Step 7: Activate the Child Theme<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">After creating the required files, return to your WordPress Dashboard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Appearance \u2192 Themes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should see your child theme listed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select it and click:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Activate<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your website should continue using the parent theme&#8217;s design while allowing you to add customizations through the child theme.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_8_Test_the_Child_Theme\"><\/span>Step 8: Test the Child Theme<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Visit your website after activating the child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Homepage<\/li>\n\n\n\n<li>Blog posts<\/li>\n\n\n\n<li>Pages<\/li>\n\n\n\n<li>Navigation menus<\/li>\n\n\n\n<li>Widgets<\/li>\n\n\n\n<li>Header<\/li>\n\n\n\n<li>Footer<\/li>\n\n\n\n<li>Mobile layout<\/li>\n\n\n\n<li>Forms<\/li>\n\n\n\n<li>Images<\/li>\n\n\n\n<li>Custom functionality<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If something looks incorrect, check whether the parent stylesheet has been loaded correctly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_9_Override_a_Parent_Template\"><\/span>Step 9: Override a Parent Template<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">One of the most useful features of a child theme is template overriding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Suppose the parent theme contains:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>single.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can copy that file into:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mytheme-child\/single.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then modify the child version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress will generally use the child theme&#8217;s <code>single.php<\/code> instead of the parent version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wp-content\/\n\u2514\u2500\u2500 themes\/\n    \u251c\u2500\u2500 mytheme\/\n    \u2502   \u2514\u2500\u2500 single.php\n    \u2502\n    \u2514\u2500\u2500 mytheme-child\/\n        \u251c\u2500\u2500 style.css\n        \u251c\u2500\u2500 functions.php\n        \u2514\u2500\u2500 single.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This gives you control over the post template without changing the original theme file.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_10_Add_Custom_JavaScript\"><\/span>Step 10: Add Custom JavaScript<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If your customization requires JavaScript, create a file such as:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>script.js<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">inside the child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then enqueue it from <code>functions.php<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function mytheme_child_scripts() {\n    wp_enqueue_script(\n        'mytheme-child-script',\n        get_stylesheet_directory_uri() . '\/script.js',\n        array(),\n        wp_get_theme()-&gt;get('Version'),\n        true\n    );\n}\n\nadd_action('wp_enqueue_scripts', 'mytheme_child_scripts');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This approach is preferable to inserting JavaScript directly into theme templates.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Child_Theme_Structure\"><\/span>Example Child Theme Structure<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A simple child theme might look like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mytheme-child\/\n\u2502\n\u251c\u2500\u2500 style.css\n\u251c\u2500\u2500 functions.php\n\u251c\u2500\u2500 script.js\n\u251c\u2500\u2500 single.php\n\u2514\u2500\u2500 images\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You don&#8217;t need to create every file from the parent theme. Only add the files you actually need to customize.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Create_a_Child_Theme_Using_a_Plugin\"><\/span>How to Create a Child Theme Using a Plugin<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If you don&#8217;t want to manually create theme files, you can use a WordPress child-theme plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The general process is:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open <strong>Plugins \u2192 Add New Plugin<\/strong>.<\/li>\n\n\n\n<li>Search for a reputable child-theme creation plugin.<\/li>\n\n\n\n<li>Install and activate it.<\/li>\n\n\n\n<li>Select your parent theme.<\/li>\n\n\n\n<li>Configure the child theme options.<\/li>\n\n\n\n<li>Generate the child theme.<\/li>\n\n\n\n<li>Activate the new child theme.<\/li>\n\n\n\n<li>Test your website.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Always check the plugin&#8217;s compatibility and maintenance status before installing it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a production website, creating a simple child theme manually can also be a straightforward option.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Child_Theme_vs_Parent_Theme\"><\/span>Child Theme vs Parent Theme<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Feature<\/th><th>Parent Theme<\/th><th>Child Theme<\/th><\/tr><\/thead><tbody><tr><td>Original theme files<\/td><td>Yes<\/td><td>No<\/td><\/tr><tr><td>Inherits design<\/td><td>N\/A<\/td><td>Yes<\/td><\/tr><tr><td>Safe place for custom code<\/td><td>Limited<\/td><td>Yes<\/td><\/tr><tr><td>Parent updates<\/td><td>Can overwrite direct edits<\/td><td>Usually preserves child files<\/td><\/tr><tr><td>Template overrides<\/td><td>Original templates<\/td><td>Can override selected templates<\/td><\/tr><tr><td>Requires parent theme<\/td><td>No<\/td><td>Yes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_Child_Theme_Mistakes\"><\/span>Common Child Theme Mistakes<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Incorrect_Template_Name\"><\/span>1. Incorrect Template Name<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">One of the most common mistakes is using the wrong value for:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Template:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It must match the parent theme&#8217;s directory name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Incorrect:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Template: My Theme<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Correct example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Template: mytheme<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Copying_the_Parent_functionsphp\"><\/span>2. Copying the Parent functions.php<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Don&#8217;t copy the complete parent <code>functions.php<\/code> into the child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The child functions file works alongside the parent functions file. Copying everything can cause duplicate function declarations and other conflicts.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Editing_the_Parent_Theme\"><\/span>3. Editing the Parent Theme<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the child theme is active, avoid modifying the parent theme unless there is a specific reason.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Store your custom CSS, PHP, templates, and scripts in the child theme whenever practical.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Forgetting_to_Back_Up_the_Website\"><\/span>4. Forgetting to Back Up the Website<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before changing PHP or template files, create a backup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A PHP syntax error can sometimes make parts of the website inaccessible. Having a backup gives you a way to recover quickly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Overriding_Too_Many_Files\"><\/span>5. Overriding Too Many Files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A child theme doesn&#8217;t mean you should copy the entire parent theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Only override the files that actually require customization.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fewer files you maintain, the easier future theme updates and troubleshooting become.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Happens_When_the_Parent_Theme_Is_Updated\"><\/span>What Happens When the Parent Theme Is Updated?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">One of the main reasons to use a child theme is to separate your customizations from the parent theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Parent Theme\n    \u2193\nTheme Update\n    \u2193\nOriginal files replaced<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Your child theme remains separate:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Child Theme\n    \u2193\nYour custom CSS\nYour custom PHP\nYour template overrides\nYour JavaScript\n    \u2193\nRemain in place<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">However, a child theme does <strong>not<\/strong> guarantee that every update will be completely problem-free. If the parent theme significantly changes its templates, hooks, CSS classes, or functionality, your child-theme customizations may need to be updated as well.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_Should_You_Use_a_Child_Theme\"><\/span>When Should You Use a Child Theme?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A child theme is particularly useful when you need to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Modify theme templates<\/li>\n\n\n\n<li>Add custom PHP functionality<\/li>\n\n\n\n<li>Override template files<\/li>\n\n\n\n<li>Add custom JavaScript<\/li>\n\n\n\n<li>Make extensive CSS modifications<\/li>\n\n\n\n<li>Customize theme hooks and filters<\/li>\n\n\n\n<li>Maintain changes across parent-theme updates<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For small CSS-only changes, the WordPress Customizer or Site Editor may be sufficient, depending on the theme.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Child_Themes_and_Block_Themes\"><\/span>Child Themes and Block Themes<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Modern WordPress includes <strong>block themes<\/strong>, which use the Site Editor and block templates rather than relying exclusively on traditional PHP template files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re using a block theme, the customization workflow can be different. You may work with:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>theme.json<\/code><\/li>\n\n\n\n<li>Block templates<\/li>\n\n\n\n<li>Template parts<\/li>\n\n\n\n<li>Global styles<\/li>\n\n\n\n<li>Site Editor customization<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore, before creating a traditional PHP-based child theme, determine whether your theme is a classic theme or a block theme.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Troubleshoot_a_Child_Theme\"><\/span>How to Troubleshoot a Child Theme<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If the child theme doesn&#8217;t work as expected, check the following.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Child_theme_doesnt_appear\"><\/span>Child theme doesn&#8217;t appear<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Verify that:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>style.css<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">exists inside the child theme directory and contains a valid theme header.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Parent_theme_isnt_recognized\"><\/span>Parent theme isn&#8217;t recognized<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Template: parent-folder-name<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure the value exactly matches the parent theme directory.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Website_styling_is_broken\"><\/span>Website styling is broken<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check whether the parent stylesheet is being loaded correctly and inspect the browser&#8217;s developer tools for CSS errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_error_appears\"><\/span>PHP error appears<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Review the latest code added to <code>functions.php<\/code>. A missing bracket, semicolon, or incorrectly declared function can cause PHP errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Changes_arent_visible\"><\/span>Changes aren&#8217;t visible<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Clear:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WordPress cache<\/li>\n\n\n\n<li>Browser cache<\/li>\n\n\n\n<li>CDN cache, if applicable<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Then reload the page.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Best_Practices_for_WordPress_Child_Themes\"><\/span>Best Practices for WordPress Child Themes<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these practices to keep your child theme maintainable:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Back up the website before making changes.<\/strong><\/li>\n\n\n\n<li><strong>Keep the child theme lightweight.<\/strong><\/li>\n\n\n\n<li><strong>Avoid modifying parent theme files directly.<\/strong><\/li>\n\n\n\n<li><strong>Use WordPress hooks and filters when possible.<\/strong><\/li>\n\n\n\n<li><strong>Use <code>wp_enqueue_style()<\/code> and <code>wp_enqueue_script()<\/code> for assets.<\/strong><\/li>\n\n\n\n<li><strong>Don&#8217;t duplicate the entire parent theme.<\/strong><\/li>\n\n\n\n<li><strong>Keep custom PHP organized and documented.<\/strong><\/li>\n\n\n\n<li><strong>Test changes on a staging website when possible.<\/strong><\/li>\n\n\n\n<li><strong>Check compatibility after major parent-theme updates.<\/strong><\/li>\n\n\n\n<li><strong>Keep WordPress, themes, and plugins updated.<\/strong><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Creating a WordPress child theme is a practical way to make deeper theme customizations while keeping your changes separate from the original theme. Instead of editing the parent theme directly, you can place custom CSS, PHP, JavaScript, and selected template overrides inside the child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The basic process is straightforward: create a child-theme directory, add <code>style.css<\/code> and <code>functions.php<\/code>, correctly identify the parent theme, activate the child theme, and then add only the customizations you need.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For websites that require ongoing customization, this approach can make theme maintenance considerably more organized and reduce the risk of losing custom work during parent-theme updates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide Customizing a WordPress theme is one&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[134],"tags":[],"class_list":["post-2638","post","type-post","status-publish","format-standard","category-wordpress-web-hosting","cs-entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Web Hosting Blogs by Ehostpiya | Tips and Tricks<\/title>\n<meta name=\"description\" content=\"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Wordpress\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Web Hosting Blogs by Ehostpiya | Tips and Tricks\" \/>\n<meta property=\"og:description\" content=\"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Wordpress\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/ehostpiya\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-01T11:39:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-01T11:39:59+00:00\" \/>\n<meta name=\"author\" content=\"Vandeeta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vandeeta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/\"},\"author\":{\"name\":\"Vandeeta\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/person\\\/7e99667266ef1b118ad734c1c035d796\"},\"headline\":\"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide\",\"datePublished\":\"2026-10-01T11:39:55+00:00\",\"dateModified\":\"2026-10-01T11:39:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/\"},\"wordCount\":1826,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#organization\"},\"articleSection\":[\"Wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/\",\"name\":\"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Web Hosting Blogs by Ehostpiya | Tips and Tricks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#website\"},\"datePublished\":\"2026-10-01T11:39:55+00:00\",\"dateModified\":\"2026-10-01T11:39:59+00:00\",\"description\":\"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Wordpress\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/\",\"name\":\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#organization\",\"name\":\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/512.png\",\"contentUrl\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/512.png\",\"width\":512,\"height\":512,\"caption\":\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\"},\"image\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/ehostpiya\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/person\\\/7e99667266ef1b118ad734c1c035d796\",\"name\":\"Vandeeta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g\",\"caption\":\"Vandeeta\"},\"sameAs\":[\"https:\\\/\\\/ehostpiya.in\\\/blog\"],\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/author\\\/ehostpiya_blog\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Web Hosting Blogs by Ehostpiya | Tips and Tricks","description":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Wordpress","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:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Web Hosting Blogs by Ehostpiya | Tips and Tricks","og_description":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Wordpress","og_url":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/","og_site_name":"Web Hosting Blogs by Ehostpiya | Tips and Tricks","article_publisher":"https:\/\/facebook.com\/ehostpiya","article_published_time":"2026-10-01T11:39:55+00:00","article_modified_time":"2026-10-01T11:39:59+00:00","author":"Vandeeta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vandeeta","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#article","isPartOf":{"@id":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/"},"author":{"name":"Vandeeta","@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/person\/7e99667266ef1b118ad734c1c035d796"},"headline":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide","datePublished":"2026-10-01T11:39:55+00:00","dateModified":"2026-10-01T11:39:59+00:00","mainEntityOfPage":{"@id":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/"},"wordCount":1826,"commentCount":0,"publisher":{"@id":"https:\/\/ehostpiya.in\/blog\/#organization"},"articleSection":["Wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/","url":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/","name":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Web Hosting Blogs by Ehostpiya | Tips and Tricks","isPartOf":{"@id":"https:\/\/ehostpiya.in\/blog\/#website"},"datePublished":"2026-10-01T11:39:55+00:00","dateModified":"2026-10-01T11:39:59+00:00","description":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide - Wordpress","breadcrumb":{"@id":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ehostpiya.in\/blog\/how-to-create-a-child-theme-in-wordpress-a-complete-step-by-step-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ehostpiya.in\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create a Child Theme in WordPress: A Complete Step-by-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/ehostpiya.in\/blog\/#website","url":"https:\/\/ehostpiya.in\/blog\/","name":"Web Hosting Blogs by Ehostpiya | Tips and Tricks","description":"","publisher":{"@id":"https:\/\/ehostpiya.in\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ehostpiya.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ehostpiya.in\/blog\/#organization","name":"Web Hosting Blogs by Ehostpiya | Tips and Tricks","url":"https:\/\/ehostpiya.in\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/ehostpiya.in\/blog\/wp-content\/uploads\/2026\/08\/512.png","contentUrl":"https:\/\/ehostpiya.in\/blog\/wp-content\/uploads\/2026\/08\/512.png","width":512,"height":512,"caption":"Web Hosting Blogs by Ehostpiya | Tips and Tricks"},"image":{"@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/ehostpiya"]},{"@type":"Person","@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/person\/7e99667266ef1b118ad734c1c035d796","name":"Vandeeta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g","caption":"Vandeeta"},"sameAs":["https:\/\/ehostpiya.in\/blog"],"url":"https:\/\/ehostpiya.in\/blog\/author\/ehostpiya_blog\/"}]}},"_links":{"self":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts\/2638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/comments?post=2638"}],"version-history":[{"count":1,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts\/2638\/revisions"}],"predecessor-version":[{"id":2639,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts\/2638\/revisions\/2639"}],"wp:attachment":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/media?parent=2638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/categories?post=2638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/tags?post=2638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}