{"id":29631,"date":"2022-11-29T17:29:53","date_gmt":"2022-11-29T16:29:53","guid":{"rendered":"https:\/\/woosimon.com\/?p=29631"},"modified":"2022-11-29T17:33:20","modified_gmt":"2022-11-29T16:33:20","slug":"how-to-create-a-wordpress-child-theme","status":"publish","type":"post","link":"https:\/\/woosimon.com\/ca\/how-to-create-a-wordpress-child-theme\/","title":{"rendered":"Com crear un tema infantil de WordPress"},"content":{"rendered":"<p><br><br>Un tema infantil \u00e9s una manera fant\u00e0stica de personalitzar el vostre lloc de WordPress sense haver de preocupar-vos de perdre els vostres canvis quan es publica una nova actualitzaci\u00f3. Et donar\u00e0 tots els estils i funcions del teu tema principal, per\u00f2 la llibertat de fer retocs i canvis sense por de trencar res!<\/p>\n\n\n\t\t\t\t<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-530b6dfa\"\n\t\t\t\t\tdata-scroll= \"1\"\n\t\t\t\t\tdata-offset= \"30\"\n\t\t\t\t\tstyle=\"\"\n\t\t\t\t>\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tTaula de continguts\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap\">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#what-is-a-wordpress-child-theme\" class=\"uagb-toc-link__trigger\">Qu\u00e8 \u00e9s un tema infantil de WordPress?<\/a><li class=\"uagb-toc__list\"><a href=\"#why-use-a-child-theme\" class=\"uagb-toc-link__trigger\">Per qu\u00e8 utilitzar un tema infantil?<\/a><li class=\"uagb-toc__list\"><a href=\"#how-to-create-a-wordpress-child-theme\" class=\"uagb-toc-link__trigger\">Com crear un tema infantil de WordPress<\/a><ul class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#option-1-download-from-theme-author\" class=\"uagb-toc-link__trigger\">Opci\u00f3 1: Baixeu des de l&#039;autor del tema<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#option-2-use-a-plugin\" class=\"uagb-toc-link__trigger\">Opci\u00f3 2: Utilitzeu un connector<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#option-3-manual-creation\" class=\"uagb-toc-link__trigger\">Opci\u00f3 3: Creaci\u00f3 manual<\/a><ul class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#step-1-create-a-child-theme-folder\" class=\"uagb-toc-link__trigger\">Pas 1: creeu una carpeta de tema infantil<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#step-2-create-a-stylesheet\" class=\"uagb-toc-link__trigger\">Pas 2: creeu un full d&#039;estils<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#step-3-enqueue-stylesheet\" class=\"uagb-toc-link__trigger\">Pas 3: col\u00b7loqueu el full d&#039;estils<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#step-4-zip-it\" class=\"uagb-toc-link__trigger\">Pas 4: comprimeix-lo<\/a><\/li><\/ul><\/li><\/ul><\/li><li class=\"uagb-toc__list\"><a href=\"#install-activate-the-child-theme\" class=\"uagb-toc-link__trigger\">Instal\u00b7leu i activeu el tema infantil<\/a><li class=\"uagb-toc__list\"><a href=\"#conclusion\" class=\"uagb-toc-link__trigger\">Conclusi\u00f3<\/a><\/ul><\/ul><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Qu\u00e8 \u00e9s un tema infantil de WordPress?<\/h2>\n\n\n\n<p>Un tema fill de WordPress \u00e9s un tema que hereta la funcionalitat d&#039;un altre tema, anomenat tema principal. Els temes secundaris s&#039;utilitzen sovint quan voleu personalitzar o modificar un tema de WordPress existent sense perdre la possibilitat d&#039;actualitzar aquest tema en el futur.<br><br>Com que un tema secundari hereta la seva funcionalitat del tema principal, nom\u00e9s heu d&#039;incloure els fitxers al tema secundari que voleu modificar. D&#039;aquesta manera, el tema del vostre fill es mant\u00e9 ajustat i facilita l&#039;actualitzaci\u00f3 dels temes dels pares i dels fills en el futur.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Per qu\u00e8 utilitzar un tema infantil?<\/h2>\n\n\n\n<p>Hi ha algunes bones raons per utilitzar un tema infantil:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Si feu canvis al codi del vostre tema, aquests canvis es perdran quan el tema s&#039;actualitzi. Si feu servir un tema infantil, podeu mantenir les vostres personalitzacions i aprofitar les actualitzacions del tema.<\/li>\n\n\n\n<li>Els temes infantils s\u00f3n una bona manera d&#039;aprendre sobre els temes de WordPress. Podeu comen\u00e7ar amb un tema principal que ja tingui totes les funcions i el codi que necessiteu i, a continuaci\u00f3, experimentar fent canvis al tema del vostre fill sense afectar el tema principal.<\/li>\n\n\n\n<li>Si voleu distribuir les vostres personalitzacions com a tema aut\u00f2nom, podeu fer-ho empaquetant el tema del vostre fill juntament amb el tema principal.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Com crear un tema infantil de WordPress<\/h2>\n\n\n\n<p>Hi ha 3 m\u00e8todes de dificultat variable segons el tema que utilitzeu i el vostre nivell de coneixements de programaci\u00f3.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Opci\u00f3 1: Baixeu des de l&#039;autor del tema<\/h3>\n\n\n\n<p>Molts autors de temes us permeten descarregar un tema infantil preempaquetat. Jo faig servir per exemple Astra Pro que ofereix aquest servei. Tot el que has de fer \u00e9s visitar el seu lloc web i descarregar el fitxer ZIP.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Opci\u00f3 2: Utilitzeu un connector<\/h3>\n\n\n\n<p>Hi ha diversos connectors gratu\u00efts al repositori de WordPress que us crearan autom\u00e0ticament un tema secundari. Mai he utilitzat un connector per a creador de temes per a nens, aix\u00ed que no puc donar-los cap garantia, per\u00f2 <a href=\"https:\/\/en-gb.wordpress.org\/plugins\/child-theme-configurator\/\" target=\"_blank\" rel=\"noreferrer noopener\">Configurador de temes infantils<\/a> t\u00e9 moltes instal\u00b7lacions, bones ressenyes i s&#039;havia actualitzat recentment en el moment d&#039;escriure. <a href=\"https:\/\/woosimon.com\/ca\/a-quick-guide-to-choosing-wordpress-plugins\/\">Consulteu la meva guia per triar els connectors de WordPress aqu\u00ed<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Opci\u00f3 3: Creaci\u00f3 manual<\/h3>\n\n\n\n<p>Crear manualment un tema infantil \u00e9s relativament senzill. En realitat nom\u00e9s s\u00f3n dos fitxers: un style.css i functions.php.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Pas 1: creeu una carpeta de tema infantil<\/h4>\n\n\n\n<p>Creeu una carpeta nova amb un nom descriptiu, normalment t\u00e9 sentit posar-hi un nom <strong>tema-infant<\/strong> (on themename \u00e9s el nom del vostre tema actual.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Pas 2: creeu un full d&#039;estils<\/h4>\n\n\n\n<p>El fitxer style.css \u00e9s on afegireu tot el vostre codi CSS. Aquest fitxer s&#039;ha de desar a la carpeta de temes secundaris que acabeu de crear.<br><br>Per crear el fitxer style.css, obriu un editor de text (com ara Bloc de notes o TextEdit) i afegiu el codi seg\u00fcent:<\/p>\n\n\n\n<pre class=\"wp-block-code has-ast-global-color-0-color has-ast-global-color-8-background-color has-text-color has-background\"><code>\/*<br>Nom del tema: Tema del meu fill<br>URI del tema: http:\/\/example.com\/my-child-theme\/<br>Descripci\u00f3: un tema infantil per al meu tema<br>Autor: John Doe<br>URI de l&#039;autor: http:\/\/example.com\/<br>Plantilla: el meu-tema<br>Versi\u00f3: 1.0.0<br>*\/<br><br>\/* Inicia el codi CSS personalitzat *\/<br><br>\/* Finalitzar el codi CSS personalitzat *\/<br><\/code><\/pre>\n\n\n\n<p>Assegureu-vos de substituir &quot;El meu tema infantil&quot; pel nom del tema infantil, &quot;El meu tema&quot; pel nom del tema principal i &quot;John Doe&quot; pel vostre nom (o el nom de qui ha creat el tema infantil). La l\u00ednia de plantilla hauria de coincidir amb el nom del directori del vostre tema principal: si el vostre tema principal es troba a \/wp-content\/themes\/my-theme\/, la plantilla tamb\u00e9 hauria de ser el meu tema. Podeu deixar el n\u00famero de versi\u00f3 com a 1.0.0 o canviar-lo per una altra cosa; realment no importa el que feu servir aqu\u00ed, sempre que coincideixi amb el que hi ha a functions.php (hi arribarem en un minut). Despr\u00e9s de l&#039;etiqueta de comentari *\/ de tancament, podeu afegir qualsevol codi CSS personalitzat per al tema del vostre fill.*\/<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Pas 3: col\u00b7loqueu el full d&#039;estils<\/h4>\n\n\n\n<p>Ara haureu de crear un fitxer functions.php i desar-lo a la mateixa carpeta. Aix\u00f2 \u00e9s per assegurar-vos que els fulls d&#039;estil tant del pare com del fill es carreguen correctament, i tamb\u00e9 \u00e9s on afegireu els filtres i els ganxos d&#039;acci\u00f3 per personalitzar el vostre lloc.<br><br>Aqu\u00ed \u00e9s on les coses es poden complicar una mica, ja que el codi necessari per posar en cua els estils dep\u00e8n de com estigui dissenyat el tema principal.<br><br>En 90% dels casos, per\u00f2, hauria de funcionar el seg\u00fcent:<\/p>\n\n\n\n<pre class=\"wp-block-code has-ast-global-color-0-color has-ast-global-color-8-background-color has-text-color has-background\"><code>get(&#039;Versi\u00f3&#039;) \/\/ Aix\u00f2 nom\u00e9s funciona si teniu la versi\u00f3 definida a la cap\u00e7alera d&#039;estil. ); }<\/code><\/pre>\n\n\n\n<p>* tingueu en compte que heu de canviar el &quot;handle principal&quot; pel nom del full d&#039;estil dels temes pare.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Pas 4: comprimeix-lo<\/h4>\n\n\n\n<p>Ara voldreu comprimir la carpeta que cont\u00e9 els dos fitxers perqu\u00e8 estigui llest per pujar al vostre lloc de WordPress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instal\u00b7leu i activeu el tema infantil<\/h2>\n\n\n\n<p>Tant si heu creat el tema secundari manualment, amb un connector o si l&#039;heu descarregat dels autors del vostre tema principal, el proc\u00e9s d&#039;instal\u00b7laci\u00f3 \u00e9s el mateix.<br><br>Anar a <strong>Aparen\u00e7a &gt; Temes &gt; Afegeix nou<\/strong> i seleccioneu la carpeta del tema secundari comprimit.<br><br>Ara haur\u00edeu de veure el tema secundari a la llista juntament amb tots els altres temes instal\u00b7lats i simplement podeu fer clic <strong>activar<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusi\u00f3<\/h2>\n\n\n\n<p>Un tema secundari de WordPress \u00e9s una manera fant\u00e0stica de personalitzar un tema existent sense perdre cap dels vostres canvis quan s&#039;actualitza el tema principal. En crear un tema secundari, podeu fer tants canvis com vulgueu sense afectar el tema principal. A m\u00e9s, \u00e9s una bona manera d&#039;aprendre m\u00e9s sobre els temes de WordPress i com funcionen.<\/p>","protected":false},"excerpt":{"rendered":"<p>A child theme is a great way to customize your WordPress site without having to worry about losing your changes when a new update is released. It will give you all the styles and functions of your main theme, but the freedom to make tweaks and changes without fear of breaking anything! What is a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":29645,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[330],"tags":[],"class_list":["post-29631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced-wordpress-tips"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a WordPress Child Theme - WooSimon<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/woosimon.com\/ca\/how-to-create-a-wordpress-child-theme\/\" \/>\n<meta property=\"og:locale\" content=\"ca_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a WordPress Child Theme - WooSimon\" \/>\n<meta property=\"og:description\" content=\"A child theme is a great way to customize your WordPress site without having to worry about losing your changes when a new update is released. It will give you all the styles and functions of your main theme, but the freedom to make tweaks and changes without fear of breaking anything! What is a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/woosimon.com\/ca\/how-to-create-a-wordpress-child-theme\/\" \/>\n<meta property=\"og:site_name\" content=\"WooSimon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/WooSimonWeb\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/WooSimonWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-29T16:29:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-29T16:33:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Simon Whyatt\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@simon_whyatt\" \/>\n<meta name=\"twitter:site\" content=\"@simon_whyatt\" \/>\n<meta name=\"twitter:label1\" content=\"Escrit per\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Whyatt\" \/>\n\t<meta name=\"twitter:label2\" content=\"Temps estimat de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minuts\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/\"},\"author\":{\"name\":\"Simon Whyatt\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/#\\\/schema\\\/person\\\/38f6b2be00e744795e9061a75136c46a\"},\"headline\":\"How to Create a WordPress Child Theme\",\"datePublished\":\"2022-11-29T16:29:53+00:00\",\"dateModified\":\"2022-11-29T16:33:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/\"},\"wordCount\":886,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/woosimon.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/How-to-create-a-wordpress-child-theme.jpg\",\"articleSection\":[\"Advanced WordPress Tips\"],\"inLanguage\":\"ca\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/\",\"url\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/\",\"name\":\"How to Create a WordPress Child Theme - WooSimon\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/woosimon.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/How-to-create-a-wordpress-child-theme.jpg\",\"datePublished\":\"2022-11-29T16:29:53+00:00\",\"dateModified\":\"2022-11-29T16:33:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#breadcrumb\"},\"inLanguage\":\"ca\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ca\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#primaryimage\",\"url\":\"https:\\\/\\\/woosimon.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/How-to-create-a-wordpress-child-theme.jpg\",\"contentUrl\":\"https:\\\/\\\/woosimon.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/How-to-create-a-wordpress-child-theme.jpg\",\"width\":1200,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/how-to-create-a-wordpress-child-theme\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/woosimon.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a WordPress Child Theme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/#website\",\"url\":\"https:\\\/\\\/woosimon.com\\\/\",\"name\":\"WooSimon\",\"description\":\"Web Solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/woosimon.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ca\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/#organization\",\"name\":\"WooSimon\",\"url\":\"https:\\\/\\\/woosimon.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ca\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/woosimon.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/WooSimon-Logo-DSG.png\",\"contentUrl\":\"https:\\\/\\\/woosimon.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/WooSimon-Logo-DSG.png\",\"width\":512,\"height\":512,\"caption\":\"WooSimon\"},\"image\":{\"@id\":\"https:\\\/\\\/woosimon.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/WooSimonWeb\",\"https:\\\/\\\/x.com\\\/simon_whyatt\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/simon-whyatt-11115110\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/woosimon.com\\\/#\\\/schema\\\/person\\\/38f6b2be00e744795e9061a75136c46a\",\"name\":\"Simon Whyatt\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ca\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b09761856ba4bbcb79197fb9e715e3abc28203fbd1753daf09e5019d9b135233?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b09761856ba4bbcb79197fb9e715e3abc28203fbd1753daf09e5019d9b135233?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b09761856ba4bbcb79197fb9e715e3abc28203fbd1753daf09e5019d9b135233?s=96&d=mm&r=g\",\"caption\":\"Simon Whyatt\"},\"description\":\"My name is Simon Whyatt and I\u2019m a web designer based in Barcelona, Spain. I create websites with great user experience that convert visitors into clients.\",\"sameAs\":[\"https:\\\/\\\/woosimon.com\",\"https:\\\/\\\/www.facebook.com\\\/WooSimonWeb\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/simon-whyatt-11115110\\\/\",\"https:\\\/\\\/x.com\\\/simon_whyatt\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Com crear un tema infantil de WordPress - WooSimon","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:\/\/woosimon.com\/ca\/how-to-create-a-wordpress-child-theme\/","og_locale":"ca_ES","og_type":"article","og_title":"How to Create a WordPress Child Theme - WooSimon","og_description":"A child theme is a great way to customize your WordPress site without having to worry about losing your changes when a new update is released. It will give you all the styles and functions of your main theme, but the freedom to make tweaks and changes without fear of breaking anything! What is a [&hellip;]","og_url":"https:\/\/woosimon.com\/ca\/how-to-create-a-wordpress-child-theme\/","og_site_name":"WooSimon","article_publisher":"https:\/\/www.facebook.com\/WooSimonWeb","article_author":"https:\/\/www.facebook.com\/WooSimonWeb","article_published_time":"2022-11-29T16:29:53+00:00","article_modified_time":"2022-11-29T16:33:20+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg","type":"image\/jpeg"}],"author":"Simon Whyatt","twitter_card":"summary_large_image","twitter_creator":"@simon_whyatt","twitter_site":"@simon_whyatt","twitter_misc":{"Escrit per":"Simon Whyatt","Temps estimat de lectura":"5 minuts"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#article","isPartOf":{"@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/"},"author":{"name":"Simon Whyatt","@id":"https:\/\/woosimon.com\/#\/schema\/person\/38f6b2be00e744795e9061a75136c46a"},"headline":"How to Create a WordPress Child Theme","datePublished":"2022-11-29T16:29:53+00:00","dateModified":"2022-11-29T16:33:20+00:00","mainEntityOfPage":{"@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/"},"wordCount":886,"commentCount":0,"publisher":{"@id":"https:\/\/woosimon.com\/#organization"},"image":{"@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#primaryimage"},"thumbnailUrl":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg","articleSection":["Advanced WordPress Tips"],"inLanguage":"ca","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/","url":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/","name":"Com crear un tema infantil de WordPress - WooSimon","isPartOf":{"@id":"https:\/\/woosimon.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#primaryimage"},"image":{"@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#primaryimage"},"thumbnailUrl":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg","datePublished":"2022-11-29T16:29:53+00:00","dateModified":"2022-11-29T16:33:20+00:00","breadcrumb":{"@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#breadcrumb"},"inLanguage":"ca","potentialAction":[{"@type":"ReadAction","target":["https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/"]}]},{"@type":"ImageObject","inLanguage":"ca","@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#primaryimage","url":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg","contentUrl":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg","width":1200,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/woosimon.com\/how-to-create-a-wordpress-child-theme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/woosimon.com\/"},{"@type":"ListItem","position":2,"name":"How to Create a WordPress Child Theme"}]},{"@type":"WebSite","@id":"https:\/\/woosimon.com\/#website","url":"https:\/\/woosimon.com\/","name":"WooSimon","description":"Solucions Web","publisher":{"@id":"https:\/\/woosimon.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/woosimon.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ca"},{"@type":"Organization","@id":"https:\/\/woosimon.com\/#organization","name":"WooSimon","url":"https:\/\/woosimon.com\/","logo":{"@type":"ImageObject","inLanguage":"ca","@id":"https:\/\/woosimon.com\/#\/schema\/logo\/image\/","url":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/02\/WooSimon-Logo-DSG.png","contentUrl":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/02\/WooSimon-Logo-DSG.png","width":512,"height":512,"caption":"WooSimon"},"image":{"@id":"https:\/\/woosimon.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/WooSimonWeb","https:\/\/x.com\/simon_whyatt","https:\/\/www.linkedin.com\/in\/simon-whyatt-11115110\/"]},{"@type":"Person","@id":"https:\/\/woosimon.com\/#\/schema\/person\/38f6b2be00e744795e9061a75136c46a","name":"Simon Whyatt","image":{"@type":"ImageObject","inLanguage":"ca","@id":"https:\/\/secure.gravatar.com\/avatar\/b09761856ba4bbcb79197fb9e715e3abc28203fbd1753daf09e5019d9b135233?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b09761856ba4bbcb79197fb9e715e3abc28203fbd1753daf09e5019d9b135233?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b09761856ba4bbcb79197fb9e715e3abc28203fbd1753daf09e5019d9b135233?s=96&d=mm&r=g","caption":"Simon Whyatt"},"description":"Em dic Simon Whyatt i s\u00f3c dissenyador web amb seu a Barcelona, Espanya. Creo llocs web amb una gran experi\u00e8ncia d&#039;usuari que converteixen els visitants en clients.","sameAs":["https:\/\/woosimon.com","https:\/\/www.facebook.com\/WooSimonWeb","https:\/\/www.linkedin.com\/in\/simon-whyatt-11115110\/","https:\/\/x.com\/simon_whyatt"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg","uagb_featured_image_src":{"full":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg",1200,800,false],"thumbnail":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme-150x150.jpg",150,150,true],"medium":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme-300x200.jpg",300,200,true],"medium_large":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme-768x512.jpg",768,512,true],"large":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg",1200,800,false],"2048x2048":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg",1200,800,false],"trp-custom-language-flag":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme-18x12.jpg",18,12,true],"widget-thumbnail":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme-75x75.jpg",75,75,true],"mailpoet_newsletter_max":["https:\/\/woosimon.com\/wp-content\/uploads\/2022\/11\/How-to-create-a-wordpress-child-theme.jpg",1200,800,false]},"uagb_author_info":{"display_name":"Simon Whyatt","author_link":"https:\/\/woosimon.com\/ca\/author\/siwhyatt\/"},"uagb_comment_info":0,"uagb_excerpt":"A child theme is a great way to customize your WordPress site without having to worry about losing your changes when a new update is released. It will give you all the styles and functions of your main theme, but the freedom to make tweaks and changes without fear of breaking anything! What is a&hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/posts\/29631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/comments?post=29631"}],"version-history":[{"count":0,"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/posts\/29631\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/media\/29645"}],"wp:attachment":[{"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/media?parent=29631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/categories?post=29631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/woosimon.com\/ca\/wp-json\/wp\/v2\/tags?post=29631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}