LIMITED OFFER: Get All Themes Package [42 Themes] for only $99 View Details →

Related Docs

How to Create a Child Theme for a WPZOOM Theme

Child themes are used when you want to make changes to a site without actually changing the code or the files in your original theme. This lets you update your original theme (which is the engine behind the child theme) without losing any changes you made to your site.

There are a number of plugins out there these days that will help you create a child theme. We’ve found the Child Theme Configurator plugin to work well.

How to Create a Child Theme?

  1. Install the Child Theme Configurator plugin and activate it.
  2. Go to ToolsChild Themes menu and select the option to Create a New Child Theme.
  3. Select the parent theme for which you want to create a Child Theme and click the Analyze button
  4. Scroll down at step #8, and check that option. This is useful if you already made some configurations in your current theme (widgets, menus, changes in Customizer, etc.), and what to have these settings applied to the Child theme too.
  5. Click on the Create New Child Theme button. All Done!

Once you have created a new Child Theme using this plugin, you can activate it from the AppearanceThemes page. This means that you’re safe now to modify the child theme as you want: edit CSS file, add new functions in the functions.php file, add new theme files or page templates that will override existing ones from the parent theme.

How to copy files from Parent theme to Child theme

Changing functions or theme files from parent theme is easy using child themes.

Using the Child Theme Configurator plugin you can easily copy files you want to modify from your parent theme to the child theme. You can do that from the Files tab in the Child Themes page:

Once the files have been copied in the Child Theme, go to AppearanceEditor to edit them as you want.

⛔️ THEME LOOKS BROKEN AFTER ACTIVATING CHILD THEME?

If your theme looks broken after activating the new Child Theme, please add the following code in the “functions.php” file of your Child Theme:

 add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
 function enqueue_parent_styles() {
 wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
 }

The file can be edited from page Appearance > Editor.

Why use a Child Theme?

One of the most important reason of using Child Theme is that in this way you’ll be able to update your theme in the future without worrying that you’ll lose any of your modifications.

More information about working with Child Theme can be found here:

5 Excellent Uses for a Child Theme
WordPress Codex: Child Themes
How to make a child theme for WordPress

Was this article helpful?
Let us know if you liked the article. That’s the only way we can improve.
Yes
No
Last updated on October 14, 2018
Have a suggestion?