How to fix Broken Theme Error in WordPress Child Themes

Main error you are getting when working with Child Theme is Broken Theme error. Here we are to learn fix broken child theme. Child theme is a good approach to Customize built in WordPress themes. If you are a developer you should know this. For others Child Theme is same as the Parent theme. But it is a separate theme from the parent theme but it inherits all theme behaviors of the parent. When an update is applying to the parent no worries your changes with Child Theme not going to change and all works as same as before the update. This is why Child Themes are really important. If you want to know more about child themes please read our article on Child Themes in WordPress.

When creating Child Themes as a beginner the most common error you’re getting is broken theme error.

What does this mean ? Lets say I am trying to create a Child Theme of WordPress Twenty Seventeen Theme. This is coming because WordPress not detecting the Child theme as a Child Theme of Twenty Seventeen Theme and it is detecting this theme as a Standalone theme. It is because stylesheet not including the Parent theme reference. So, how to fix this. It is easy just and parent theme reference in Child Theme stylesheet.  Template: twentyseventeen this telling WordPress that current theme is referring to twentyseventeen theme and our child theme is not a standalone WordPress theme anymore. So, your final theme header as follows.

Theme Name: Twenty Seventeen Child
Theme URI:
Author: the WordPress team
Author URI:
Template: twentyseventeen
Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
Version: 1.6
License: GNU General Public License v2 or later
License URI:
Text Domain: twentyseventeen-child
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you’ve learned with others.

No more errors and you’re done. Your child theme is successfully installed now. You can activate and use it now. You should not fear about the updates and edits now. Just enjoy the coding.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *