{"id":94938,"date":"2022-07-14T16:22:06","date_gmt":"2022-07-14T14:22:06","guid":{"rendered":"https:\/\/rmarketingdigital.com\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/"},"modified":"2021-03-03T10:33:56","modified_gmt":"2021-03-03T13:33:56","slug":"%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress","status":"publish","type":"post","link":"https:\/\/rmarketingdigital.com\/en\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/","title":{"rendered":"\u2022 \u25b7 What is and How to create a child theme or child theme in WordPress"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 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\">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-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/#Creando-el-Tema-del-Nino\" >Creating the Child&#039;s Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/#Creacion-de-archivos-de-plantillas\" >Create template files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/#Adicion-de-funciones-al-tema-infantil\" >Adding functions to the child theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/#Los-temas-infantiles-son-una-herramienta-util-para-editar-temas\" >Children&#039;s themes are a useful tool for editing themes<\/a><\/li><\/ul><\/nav><\/div>\n<div>\n<p><iframe loading=\"lazy\" title=\"How to create a Child Theme in WordPress correctly\" width=\"1080\" height=\"608\" src=\"https:\/\/www.youtube.com\/embed\/vKigSUKI06Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><noscript><iframe loading=\"lazy\" title=\"How to create a Child Theme in WordPress correctly\" width=\"1080\" height=\"608\" src=\"https:\/\/www.youtube.com\/embed\/vKigSUKI06Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/noscript><\/p>\n<p>You might be tempted to go and edit the source code for a third-party theme (that is, a theme that you didn&#039;t write yourself), but don&#039;t. The next time you update that theme, new files will be downloaded and you&#039;ll lose all of them. the changes you have made.<\/p>\n<p>Frustrating, to say the least.<\/p>\n<p>But what can you do if you need to edit the theme?<\/p>\n<p>Luckily there is a way to edit the code in a theme, and still have the ability to download the latest updates: that is by creating a child theme using the original theme as the main theme.<\/p>\n<p>This means that you will activate the child theme in the WordPress admin, but within the code of that theme there are instructions for WordPress to tell you that this is a child theme, and what is the parent theme. You keep the parent theme installed on your site, but you don&#039;t activate it. (It is essential to keep it installed, since without it, the child theme will break.)<\/p>\n<p>In this tutorial I am going to teach you how to create a children&#039;s theme in WordPress. At the same time I will give you some tips on how the themes for children and parents work, for it is important it is important that you know what set of code is being used to display the content of your site.<\/p>\n<h2 class=\"nolinks\"><span class=\"ez-toc-section\" id=\"Creando-el-Tema-del-Nino\"><\/span><span id=\"Creando_el_Tema_del_Nino\">Creating the Child&#039;s Theme<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The first thing to do is create the child theme in your wp-content \/ themesfolder folder. The child theme must have two files to work with: a style sheet and a function file. At the same time, you can add optional files, such as template files or include files.<\/p>\n<p>Create a folder for your child&#039;s topic in the topic folder and give it a suitable name. I&#039;m calling mine \u00bbMy son theme\u00bb<strong>.<\/strong><\/p>\n<p>Inside that folder create a file called style<strong>.css.<\/strong><\/p>\n<p>At the top of that file, add the following commented code:<\/p>\n<p>This tells WordPress that this is a theme, and provides the same information on the theme that you would find in any theme - with one addition. Template<code class=\"inline\">: twenty-two lines<\/code> tells WordPress that it consists of a child from the Twenty Nineteen theme.<\/p>\n<p>You can use any theme as the main theme, using the name of the folder where it is stored. Don&#039;t use the topic title - use the folder name instead.<\/p>\n<p>Now save the stylesheet and create another file in the child theme, called<strong> functions.php.<\/strong><\/p>\n<p>In this file, you need to glue the stylesheet of the main theme. It used to be that you did this using a<code class=\"inline\"> line<\/code> @import in the stylesheet, but this is no longer the recommended way to do it.<\/p>\n<p>Instead, in the function file, add this code:<\/p>\n<p><code class=\"php plain\">&lt;?php<\/code><\/p>\n<p><code class=\"php keyword\">function<\/code> <code class=\"php plain\">pimpampress_parent_styles () {<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"php plain\">wp_enqueue_style ( <\/code><code class=\"php string\">&#039;parent&#039;<\/code><code class=\"php plain\">, get_template_directory_uri ().<\/code><code class=\"php string\">&#039;\/style.css&#039;<\/code> <code class=\"php plain\">);<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><\/p>\n<p><code class=\"php plain\">}<\/code><\/p>\n<p><code class=\"php plain\">add_action ( <\/code><code class=\"php string\">&#039;wp_enqueue_scripts&#039;<\/code><code class=\"php plain\">, <\/code><code class=\"php string\">&#039;pimpampress_parent_styles&#039;<\/code><code class=\"php plain\">);<\/code><\/p>\n<p>\u00a0<\/p>\n<p>This correctly places the main theme stylesheet, using get_tempate_directory_uri<code class=\"inline\">() for<\/code> find that theme (the template directory is the folder where the main theme is stored, while the stylesheet directory is the folder where the current theme is stored).<\/p>\n<p>If you want to add any styles to the child theme to override or increase the style of the parent theme, go back to the child theme&#039;s style sheet and add it there. Do not add in the functions file or try to queue in more stylesheets.<\/p>\n<p>At the same time you can add functions to the functions file of the child theme, and template files to the themes folder, which will override the same template files in the main theme.<\/p>\n<p>Therefore, now you have the topic of your child, it&#039;s that easy! However, it is important to note that you understand exactly how the parent and child theme template files interact.<\/p>\n<h2 class=\"nolinks\"><span class=\"ez-toc-section\" id=\"Creacion-de-archivos-de-plantillas\"><\/span><span id=\"Creacion_de_archivos_de_plantillas\">Create template files<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now let&#039;s take a look at the theme template files. The template file WordPress uses to display a page on your site will depend on two things: the template hierarchy, and the files you add to the child theme.<\/p>\n<p>Imagine you are viewing the category archive page<strong> Travels<\/strong> on your site. WordPress will use the template hierarchy to find the most relevant file:<\/p>\n<ol>\n<li>a category archive template file for that specific category, using the slug:<strong> category-travel.php<\/strong><\/li>\n<li>a category archive template file for that specific category, using the ID:<strong> category-23.php<\/strong><\/li>\n<li>a general category file:<strong> category.php<\/strong><\/li>\n<li>a general archive file:<strong> archive.php<\/strong><\/li>\n<li>the catch-all: index<strong>.php<\/strong><\/li>\n<\/ol>\n<p>WordPress will look for this in both the parenting theme and the children&#039;s theme. WordPress will use the first file in the hierarchy that it finds, either in the parent theme or in the child theme.<\/p>\n<p>There is an exception. When the most relevant template file has a version in the parent and child themes, WordPres will use the file from the child theme and ignore the file from the parent theme. This is one of the most common uses of child themes: overriding a specific file in the parent theme.<\/p>\n<p>Here are some examples, using the example category above:<\/p>\n<ul>\n<li>If your child theme has<strong> archive.php e<\/strong> index.php, and<strong> its<\/strong> parent theme has category.php and index.<strong>php, then<\/strong> WordPress will use<strong> category<\/strong>.php of the parent theme<strong> because it is<\/strong> highest in the hierarchy<\/li>\n<li>If your child theme has<strong> category.php e<\/strong> index.php and<strong> its<\/strong> parent theme has file.php and index.php<strong>, WordPress<\/strong> will use the file<strong> category.<\/strong>php of the child theme,<strong> since this is<\/strong> the highest in the hierarchy<\/li>\n<li>If the child theme has<strong> archive.php e<\/strong> index.php and<strong> he<\/strong> parent theme has archive.php and index.php<strong>, WordPress<\/strong> will use the<strong> archive archive.<\/strong>php of the child theme. This is because there are two copies of the highest file in the hierarchy and the child topic takes precedence over the parent topic.<\/li>\n<\/ul>\n<p>This way, if you want to override a template file in the parent theme, create a duplicate of that file in the child theme with whatever code you want. Or create a file that is higher in the template hierarchy and add it to your child&#039;s theme.<\/p>\n<h2 class=\"nolinks\"><span class=\"ez-toc-section\" id=\"Adicion-de-funciones-al-tema-infantil\"><\/span><span id=\"Adicion_de_funciones_al_tema_infantil\">Adding functions to the child theme<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The functions work differently from template files and are a bit less straightforward.<\/p>\n<p>If you add a function to the child theme with the same name as one of the parent theme, WordPress will throw an error, because it is trying to call the same function twice.<\/p>\n<p>But this won&#039;t happen if the function in the parent theme is pluggable.<\/p>\n<p>A plugin file is included in a conditional check for another function with the same name, which looks like this:<\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<p>1<\/p>\n<p>2<\/p>\n<p>3<\/p>\n<p>4<\/p>\n<p>5<\/p>\n<p>6<\/p>\n<p>7<\/p>\n<p>8<\/p>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<p><code class=\"php keyword\">if<\/code> <code class=\"php plain\">(! function_exists ( <\/code><code class=\"php string\">&#039;pimpampress_function_name&#039;<\/code> <code class=\"php plain\">) ) {<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"php keyword\">function<\/code> <code class=\"php plain\">pimpampress_function_name () {<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"php plain\">}<\/code><\/p>\n<p><code class=\"php plain\">}<\/code><\/p>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Here, WordPress will check that no function with the same name has been called. If so, it will execute this function. This is because the functions of the child topic are called before the functions of the parent topic. If you write a function in the child theme with the same name, it will run instead.<\/p>\n<p>But what if the parent theme&#039;s function is not pluggable and you want to override it?<\/p>\n<p>Well, you can do that by writing a new function that essentially overrides the function in the parent theme, and giving it a higher priority than the function in the parent theme, so that the funciton function in the parent theme executes after it. Alternatively, you can pick up the function from the parent topic and write a new function on the child topic, hooked to that same hook.<\/p>\n<p>Imagine that the main theme function looks like this:<\/p>\n<div>\n<div id=\"highlighter_326265\" class=\"syntaxhighlighter php\">\n<p><code class=\"php keyword\">function<\/code> <code class=\"php plain\">pimpampress_parent_function () {<\/code><code class=\"php spaces\">\u00a0 \u00a0 \u00a0<\/code><\/p>\n<p><code class=\"php spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><\/p>\n<p><code class=\"php plain\">}<\/code><\/p>\n<p><code class=\"php plain\">add_action ( <\/code><code class=\"php string\">&#039;init&#039;<\/code><code class=\"php plain\">, <\/code><code class=\"php string\">&#039;pimpampress_parent_function&#039;<\/code> <code class=\"php plain\">);<\/code><\/p>\n<\/div>\n<\/div>\n<p>If your function in the child theme could undo the function of the parent theme without having to stop the function of the parent theme, you would write it like this:<\/p>\n<p><code class=\"plain plain\">function pimpampress_child_function () {<\/code><\/p>\n<p><code class=\"plain spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"plain plain\">\/\/ contents of function here<\/code><\/p>\n<p><code class=\"plain plain\">}<\/code><\/p>\n<p><code class=\"plain plain\">add_action (&#039;init&#039;, &#039;pimpampress_child_function&#039;, 20);<\/code><\/p>\n<p>But if you had to prevent the parent theme&#039;s function from executing, you&#039;d unhook it first, like this:<\/p>\n<p><code class=\"plain plain\">function wpmu_remove_parent_function () {<\/code><\/p>\n<p><code class=\"plain spaces\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"plain plain\">remove_action (&#039;init&#039;, &#039;pimpampress_parent_function&#039;);<\/code><\/p>\n<p><code class=\"plain plain\">}<\/code><\/p>\n<p><code class=\"plain plain\">add_action (&#039;wp_head&#039;, &#039;wpmu_remove_parent_function&#039;);<\/code><\/p>\n<p>Note that you still have to put the function<code class=\"inline\"> remove_action ()<\/code> inside another function, hooked to the wp_head () hook<code class=\"inline\"> in this<\/code> case.<\/p>\n<p>Then you could write the function for the child theme as if the one for the parent theme never existed, remember you shouldn&#039;t give it the same name!<\/p>\n<h2 class=\"nolinks\"><span class=\"ez-toc-section\" id=\"Los-temas-infantiles-son-una-herramienta-util-para-editar-temas\"><\/span><span id=\"Los_temas_infantiles_son_una_herramienta_util_para_editar_temas\">Children&#039;s themes are a useful tool for editing themes<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Children&#039;s themes have two main uses:<\/p>\n<ul>\n<li>With a theme that has been designed to be used as a parenting theme (often referred to as a framework). The framework is not designed for use on its own: instead, additional styles and template files are added with a child theme.<\/li>\n<li>To allow you to edit the main theme without having to edit it directly, or to add additional template files. This means that when the parenting topic is updated in the future, you won&#039;t lose your job.<\/li>\n<\/ul>\n<p>So the next time you read a tutorial that tells you to use a children&#039;s theme instead of editing a third-party theme, you will know what to do!<\/p>\n<p>2EwyhSO<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>You might be tempted to go and edit the source code of a third-party theme (i.e. a theme you didn&#039;t write yourself), but don&#039;t...<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1351],"tags":[],"class_list":["post-94938","post","type-post","status-publish","format-standard","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v28.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress - R Marketing Digital<\/title>\n<meta name=\"description\" content=\"Puede que te sientas tentado de ir y editar el c\u00f3digo fuente de un tema de terceros (es decir, un tema que no hayas escrito t\u00fa mismo), pero no lo hagas La\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/\u25b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress\" \/>\n<meta property=\"og:description\" content=\"Puede que te sientas tentado de ir y editar el c\u00f3digo fuente de un tema de terceros (es decir, un tema que no hayas escrito t\u00fa mismo), pero no lo hagas La\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/\u25b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"R Marketing Digital\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-14T14:22:06+00:00\" \/>\n<meta name=\"author\" content=\"R Marketing Digital\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\\\/\"},\"author\":{\"name\":\"R Marketing Digital\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#\\\/schema\\\/person\\\/7c0d9782b2977b840b3740f00c69a73e\"},\"headline\":\"\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress\",\"datePublished\":\"2022-07-14T14:22:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\\\/\"},\"wordCount\":1615,\"articleSection\":[\"Wordpress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\\\/\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\\\/\",\"name\":\"\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress - R Marketing Digital\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\"},\"datePublished\":\"2022-07-14T14:22:06+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#\\\/schema\\\/person\\\/7c0d9782b2977b840b3740f00c69a73e\"},\"description\":\"Puede que te sientas tentado de ir y editar el c\u00f3digo fuente de un tema de terceros (es decir, un tema que no hayas escrito t\u00fa mismo), pero no lo hagas La\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/\",\"name\":\"R Marketing Digital\",\"description\":\"Agencia SEO | Publicidad redes sociales | Community Management\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rmarketingdigital.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#\\\/schema\\\/person\\\/7c0d9782b2977b840b3740f00c69a73e\",\"name\":\"R Marketing Digital\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g\",\"caption\":\"R Marketing Digital\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress - R Marketing Digital","description":"You might be tempted to go and edit the source code for a third-party theme (that is, a theme that you didn&#039;t write yourself), but don&#039;t do it.","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:\/\/rmarketingdigital.com\/en\/wordpress\/\u25b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress","og_description":"Puede que te sientas tentado de ir y editar el c\u00f3digo fuente de un tema de terceros (es decir, un tema que no hayas escrito t\u00fa mismo), pero no lo hagas La","og_url":"https:\/\/rmarketingdigital.com\/en\/wordpress\/\u25b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/","og_site_name":"R Marketing Digital","article_published_time":"2022-07-14T14:22:06+00:00","author":"R Marketing Digital","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rmarketingdigital.com\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/#article","isPartOf":{"@id":"https:\/\/rmarketingdigital.com\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/"},"author":{"name":"R Marketing Digital","@id":"https:\/\/rmarketingdigital.com\/#\/schema\/person\/7c0d9782b2977b840b3740f00c69a73e"},"headline":"\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress","datePublished":"2022-07-14T14:22:06+00:00","mainEntityOfPage":{"@id":"https:\/\/rmarketingdigital.com\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/"},"wordCount":1615,"articleSection":["Wordpress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/rmarketingdigital.com\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/","url":"https:\/\/rmarketingdigital.com\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/","name":"\u2022\u25b7 Qu\u00e9 es y C\u00f3mo crear un child theme o tema hijo en WordPress - R Marketing Digital","isPartOf":{"@id":"https:\/\/rmarketingdigital.com\/#website"},"datePublished":"2022-07-14T14:22:06+00:00","author":{"@id":"https:\/\/rmarketingdigital.com\/#\/schema\/person\/7c0d9782b2977b840b3740f00c69a73e"},"description":"You might be tempted to go and edit the source code for a third-party theme (that is, a theme that you didn&#039;t write yourself), but don&#039;t do it.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rmarketingdigital.com\/wordpress\/%e2%96%b7-que-es-y-como-crear-un-child-theme-o-tema-hijo-en-wordpress\/"]}]},{"@type":"WebSite","@id":"https:\/\/rmarketingdigital.com\/#website","url":"https:\/\/rmarketingdigital.com\/","name":"R Digital Marketing","description":"SEO Agency | Advertising social networks | Community Management","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rmarketingdigital.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rmarketingdigital.com\/#\/schema\/person\/7c0d9782b2977b840b3740f00c69a73e","name":"R Digital Marketing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g","caption":"R Marketing Digital"}}]}},"_links":{"self":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/posts\/94938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/comments?post=94938"}],"version-history":[{"count":0,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/posts\/94938\/revisions"}],"wp:attachment":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/media?parent=94938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/categories?post=94938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/tags?post=94938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}