{"id":946,"date":"2022-09-12T18:33:05","date_gmt":"2022-09-12T18:33:05","guid":{"rendered":"https:\/\/glossary.dream.press\/glossary\/%group%\/parent-theme\/"},"modified":"2026-08-09T15:15:08","modified_gmt":"2026-08-09T15:15:08","slug":"parent-theme","status":"publish","type":"glossary","link":"https:\/\/glossary.dream.press\/glossary\/wordpress\/parent-theme\/","title":{"rendered":"Parent Theme"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In <a href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/wordpress\/\">WordPress<\/a>, every <a href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/theme\/\">theme<\/a> that isn\u2019t a <a href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/child-theme\/\">child theme<\/a> is technically a parent theme. A parent theme is a complete theme: it contains every file WordPress requires, and it installs, activates, and runs on its own. It becomes a \u201cparent\u201d only when another theme declares it as its template, and nothing in its own code has to change for that to happen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The split exists for update safety. Edit a theme\u2019s files directly and the next update overwrites your work, but skipping updates isn\u2019t an option either: outdated themes can lead to WordPress vulnerabilities. A child theme keeps your changes in its own files, so a parent update never overwrites them. It can still break them in a subtler way, which we cover below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What a parent theme supplies<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A parent theme supplies the templates, the stylesheet, and the functions; in block themes, it also supplies the theme.json defaults. A child theme inherits all of it by default and overrides only the files it replaces. How each file loads is covered on our <a href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/child-theme\/\">child theme<\/a> page, so we won\u2019t repeat the mechanics here.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A child theme is the safest way to customize a parent theme\u2019s code, but you don\u2019t always need one. If the change fits in the <a href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/full-site-editor\/\">Site Editor<\/a> (for block themes) or the Customizer\u2019s Additional CSS box, WordPress stores it in the database rather than in theme files, so it survives theme updates on its own.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example: a child of Twenty Twenty-Four<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/child-themes\/\">WordPress Theme Handbook\u2019s walkthrough<\/a> makes a child of Twenty Twenty-Four, a default theme bundled with WordPress. One line in the child\u2019s style.css header creates the relationship: <code>Template: twentytwentyfour<\/code>. The value must match the parent\u2019s folder name in wp-content\/themes exactly, or WordPress can\u2019t find the parent. Activate the child and the site works and looks just like its parent until you start overriding files. For the exact code, follow our guide, <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-create-wordpress-child-theme\/\">How to Create a WordPress Child Theme<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Choosing a parent theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The parent can be any complete, installable theme. A child theme can\u2019t serve as a parent, though: WordPress supports only two levels, parent and child. Beyond that rule, choose carefully, because you\u2019re adopting the parent\u2019s code quality and its update schedule. A good parent theme is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Actively maintained. Check the last-updated date on its WordPress.org directory listing before you commit.<\/li>\n\n\n\n<li>Well documented. You\u2019ll read the parent\u2019s templates and hooks every time you override one.<\/li>\n\n\n\n<li>Built to be extended. A <a href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/theme-framework\/\">theme framework<\/a> is a parent theme designed specifically for child-theme customization.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For the full checklist, see <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-pick-wordpress-theme\/\">WordPress Themes: How to Choose the Right One<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Update risks and abandoned parents<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A parent update never overwrites your child theme\u2019s files, but it can restructure the very templates, styles, or hooks those files override. When that happens, your overrides stop matching, and parts of the site fall back to the parent\u2019s new defaults with no error to warn you. After each parent update, skim the parent\u2019s changelog and check the site on a staging copy before pushing it live.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The opposite risk is a parent that stops receiving updates, and with them security fixes. If the parent is abandoned, or your customizations have grown extensive, do what the Theme Handbook recommends for heavily customized child themes: fork the parent into a standalone theme of your own and maintain it yourself.<\/p>\n","protected":false},"featured_media":0,"parent":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"_yoast_wpseo_focuskw":"","_yoast_wpseo_title":"What is a Parent Theme in WordPress? %%sep%% %%sitename%%","_yoast_wpseo_metadesc":"What is a parent theme? Learn how parent and child themes work together in WordPress, how to choose a good parent, and what breaks when it updates.","_yoast_wpseo_opengraph-title":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_twitter-title":"","_yoast_wpseo_twitter-description":""},"group":[18],"class_list":["post-946","glossary","type-glossary","status-publish","hentry","group-wordpress"],"acf":{"cta":"Managed WP Hosting","faqs":[{"question":"Can a child theme be a parent theme?","answer":"No. The theme hierarchy stops at two levels, so a grandchild theme isn\u2019t possible. The closest thing exists in block themes: changes made in the Site Editor are saved in the database as a layer above both themes, working like a grandchild of sorts without being an installable theme."},{"question":"Do I need to keep the parent theme installed?","answer":"Yes. Only the child theme is activated, but it loads every template, style, and function it doesn\u2019t override straight from the parent\u2019s files, so deleting the parent breaks the child. Keep both installed, update both, and activate only the child."},{"question":"How can I tell if a theme is a parent or a child theme?","answer":"Check the style.css header in the theme\u2019s folder. A child theme declares its parent there with a Template line naming the parent\u2019s folder. A theme with no Template line is a complete, standalone theme, which means it can serve as a parent."}],"term_definition":"A parent theme is a complete WordPress theme that supplies the templates, styles, and functionality a child theme inherits. It installs and runs on its own. Keeping customizations in the child theme means parent updates never overwrite them, though an update can still change what the child overrides and break compatibility.","h2_more":"More About Parent Themes","title_tag":"What is a Parent Theme in WordPress?"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is a Parent Theme in WordPress? - DreamHost Glossary<\/title>\n<meta name=\"description\" content=\"What is a parent theme? Learn how parent and child themes work together in WordPress, how to choose a good parent, and what breaks when it updates.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is a Parent Theme in WordPress? - DreamHost Glossary\" \/>\n<meta property=\"og:description\" content=\"What is a parent theme? Learn how parent and child themes work together in WordPress, how to choose a good parent, and what breaks when it updates.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/parent-theme\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Glossary\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-09T15:15:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is a Parent Theme in WordPress? - DreamHost Glossary","description":"What is a parent theme? Learn how parent and child themes work together in WordPress, how to choose a good parent, and what breaks when it updates.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"What is a Parent Theme in WordPress? - DreamHost Glossary","og_description":"What is a parent theme? Learn how parent and child themes work together in WordPress, how to choose a good parent, and what breaks when it updates.","og_url":"https:\/\/www.dreamhost.com\/glossary\/wordpress\/parent-theme\/","og_site_name":"DreamHost Glossary","article_modified_time":"2026-08-09T15:15:08+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/glossary.dream.press\/glossary\/wordpress\/parent-theme\/","url":"https:\/\/glossary.dream.press\/glossary\/wordpress\/parent-theme\/","name":"What is a Parent Theme in WordPress? - DreamHost Glossary","isPartOf":{"@id":"https:\/\/glossary.dream.press\/glossary\/#website"},"datePublished":"2022-09-12T18:33:05+00:00","dateModified":"2026-08-09T15:15:08+00:00","description":"What is a parent theme? Learn how parent and child themes work together in WordPress, how to choose a good parent, and what breaks when it updates.","breadcrumb":{"@id":"https:\/\/glossary.dream.press\/glossary\/wordpress\/parent-theme\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/glossary.dream.press\/glossary\/wordpress\/parent-theme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/glossary.dream.press\/glossary\/wordpress\/parent-theme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dreamhost.com\/glossary\/"},{"@type":"ListItem","position":2,"name":"Terms","item":"https:\/\/www.dreamhost.com\/glossary\/%group%\/"},{"@type":"ListItem","position":3,"name":"Parent Theme"}]},{"@type":"WebSite","@id":"https:\/\/glossary.dream.press\/glossary\/#website","url":"https:\/\/glossary.dream.press\/glossary\/","name":"DreamHost Glossary","description":"","publisher":{"@id":"https:\/\/glossary.dream.press\/glossary\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/glossary.dream.press\/glossary\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/glossary.dream.press\/glossary\/#organization","name":"DreamHost","url":"https:\/\/glossary.dream.press\/glossary\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/glossary.dream.press\/glossary\/#\/schema\/logo\/image\/","url":"https:\/\/glossary.dream.press\/glossary\/wp-content\/uploads\/2022\/10\/dreamhost-glossary-social.jpg","contentUrl":"https:\/\/glossary.dream.press\/glossary\/wp-content\/uploads\/2022\/10\/dreamhost-glossary-social.jpg","width":2400,"height":1256,"caption":"DreamHost"},"image":{"@id":"https:\/\/glossary.dream.press\/glossary\/#\/schema\/logo\/image\/"}}]}},"lang":"en","translations":{"en":946,"es":1676,"fr":7974,"nl":8025,"it":8804,"pt":10217,"pl":10234,"de":10255,"ru":10480,"uk":10526},"pll_sync_post":{},"_links":{"self":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/glossary\/946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/types\/glossary"}],"wp:attachment":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/media?parent=946"}],"wp:term":[{"taxonomy":"group","embeddable":true,"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/group?post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}