{"id":88884,"date":"2020-07-08T14:02:43","date_gmt":"2021-08-16T08:12:21","guid":{"rendered":"https:\/\/www.ait-themes.club\/?p=88884"},"modified":"2023-10-20T11:30:11","modified_gmt":"2023-10-20T11:30:11","slug":"how-to-use-child-theme","status":"publish","type":"post","link":"https:\/\/www.ait-themes.club\/nl\/hoe-gebruik-ik-een-kindthema\/","title":{"rendered":"Hoe gebruik je een kindthema"},"content":{"rendered":"<p>Een Child theme is handig als je wijzigingen wilt aanbrengen in de code van de themasjablonen.<br>Volg de onderstaande stappen om je child theme in een minuut aan te maken:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Maak een nieuwe map voor je kinderthema op het pad&nbsp;<code>.\/wp-content\/themes\/<\/code>Geef het de naam die je wilt, bijvoorbeeld&nbsp;<code>kinderthema<\/code><\/li><li>van ouder Citadela thema kopieer bestand style.css naar je nieuwe&nbsp;<code>kinderthema<\/code>&nbsp;map<\/li><li>vul informatie in over je kinderthema volgens onderstaand voorbeeld<\/li><\/ul>\n\n\n\n<p>Je kunt sjabloonbestanden van het hoofdthema kopi\u00ebren naar de map van het kinderthema en ze naar wens aanpassen.<br>Codevoorbeelden zijn te vinden op de offici\u00eble\u00a0<a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/child-themes\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Kinderthema's<\/a>\u00a0pagina.<\/p>\n\n\n\n<p>Voorbeeld van&nbsp;<code>style.css<\/code>&nbsp;bestand in de map van je kinderthema:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/*\nThemanaam: Naam van je kindthema\nSjabloon: citadela\nVersie: 1.0\nAuteur:\nAuteur URI:\nBeschrijving:\nTags:\nLicentie: GNU Algemene Gebruikerslicentie\nLicentie URI: http:\/\/www.gnu.org\/licenses\/gpl.html\n*\/<\/pre>","protected":false},"excerpt":{"rendered":"<p>Een child theme is handig wanneer je wijzigingen wilt aanbrengen in de code van de thema templates.Volg de onderstaande stappen om je child theme in een minuut aan te maken: maak een nieuwe map voor je child theme op het pad .\/wp-content\/themes\/, geef het de naam die je wilt, bijvoorbeeld child-theme van parent Citadela theme kopieer bestand style.css naar je nieuwe child-theme map vul [...]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","_citadela_custom_class":"","footnotes":""},"categories":[49],"tags":[],"citadela-post-location":[],"class_list":["post-88884","post","type-post","status-publish","format-standard","hentry","category-citadela-theme-documentation"],"_links":{"self":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts\/88884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/comments?post=88884"}],"version-history":[{"count":1,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts\/88884\/revisions"}],"predecessor-version":[{"id":91251,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts\/88884\/revisions\/91251"}],"wp:attachment":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/media?parent=88884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/categories?post=88884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/tags?post=88884"},{"taxonomy":"citadela-post-location","embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/citadela-post-location?post=88884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}