{"id":6526,"date":"2023-09-20T17:45:33","date_gmt":"2023-09-20T14:45:33","guid":{"rendered":"https:\/\/fspirits.com\/how-can-i-create-a-child-theme-in-wordpress\/"},"modified":"2023-09-20T17:45:33","modified_gmt":"2023-09-20T14:45:33","slug":"wie-kann-ich-ein-kind-thema-in-wordpress-erstellen","status":"publish","type":"post","link":"https:\/\/fspirits.com\/de\/how-can-i-create-a-child-theme-in-wordpress\/","title":{"rendered":"Wie kann ich ein Child-Theme in WordPress erstellen?"},"content":{"rendered":"<br \/>\n<h2> \u2063What are the benefits of using a child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> in WordPress<\/h2>\n<h1>How to Create\u2064 a Child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Theme<\/a>\u200d in WordPress<\/h1>\n<p>Creating a child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> in WordPress\u200b is a great way to customize your website\u200b without having to worry\u200b about losing your changes when the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> \u2062is updated. A child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> inherits\u200b the functionality and styling \u2063of\u2063 the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>, while allowing\u200b you\u200d to make changes to the code without affecting the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>. In this article, we\u2019ll show you how to create a child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> in WordPress.<\/p>\n<h2>What is a Child \u200b<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Theme<\/a>?<\/h2>\n<p>A child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> is \u200ba\u200d <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> that inherits the functionality and styling of another <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>, called the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>. Child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Themen<\/a> are the recommended way of making modifications to a WordPress \u2064<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>. By using a child \u2062<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>, you can make changes to your website without affecting the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>. This means that\u200b when the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> is updated, your changes will not be lost.<\/p>\n<h2>Why Use a Child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Theme<\/a>?<\/h2>\n<p>Using a child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> is the recommended way of making modifications to a WordPress <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>. By using a child\u200c <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>, you can\u2064 make changes to your website without affecting the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>. This means that when the \u200dparent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> is updated, your changes will not be lost. Additionally,\u2063 using a child\u2064 <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> can help you keep your website secure, as any \u2062changes you make to the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> will not be overwritten when the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> is updated.<\/p>\n<h2>How to Create a \u200bChild <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Theme<\/a> \u2064in WordPress<\/h2>\n<p>Creating a child \u2064<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>\u2063 in WordPress is easy. All you need to do is create a new folder\u200c in your WordPress \u200d<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Themen<\/a> \u2063directory and add a style.css\u2063 file. The style.css file should contain the\u2062 following code:<\/p>\n<pre><code>\/*<br \/>\n<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Theme<\/a> Name: My Child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Theme<\/a><br \/>\nTemplate: parent-<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a><br \/>\n*\/<br \/>\n<br \/>\n@import url(\"..\/parent-<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>\/style.css\");<br \/>\n<\/code><\/pre>\n<p>Replace \u201cMy Child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Theme<\/a>\u201d with the name of your child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>, and \u201cparent-<a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>\u201d with the name of the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>. Once you\u2019ve added the code, you can activate your child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> from the \u2064WordPress admin\u200d area. You can then start making changes to the child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> without affecting the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>.<\/p>\n<h2>Schlussfolgerung<\/h2>\n<p>Creating a child\u200c <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> in \u2062WordPress\u2062 is a great way to customize your website without having to worry about losing your changes when the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a> is\u2062 updated. If you need help creating a child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\/\"   >Thema<\/a>, or if \u2063you need help with any other WordPress project, Free Spirits can help. Visit \u200d <a href=\"\/de\/www-freespirits-gr\/\">www.freespirits.gr<\/a> oder <a href=\"\/de\/www-fspirits-com\/\">www.fspirits.com<\/a> um mehr zu erfahren.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u2063What are the benefits of using a child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\"   >theme<\/a> in WordPress How to Create\u2064 a Child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\"   >Theme<\/a>\u200d in WordPress Creating a child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\"   >theme<\/a> in WordPress\u200b is a great way to customize your website\u200b without having to worry\u200b about losing your changes when the parent <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\"   >theme<\/a> \u2062is updated. A child <a  class=\"btl_autolink_hyperlink\"  href=\"https:\/\/fspirits.com\/go\/worldpress-it\"   >theme<\/a> inherits\u200b the functionality and styling [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6527,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[580],"tags":[581,1829,733,617,703],"class_list":["post-6526","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-wordpress","tag-child-theme","tag-create","tag-how-to","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/posts\/6526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/comments?post=6526"}],"version-history":[{"count":0,"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/posts\/6526\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/media\/6527"}],"wp:attachment":[{"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/media?parent=6526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/categories?post=6526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fspirits.com\/de\/wp-json\/wp\/v2\/tags?post=6526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}