Install child theme

In the root of your theme, you should have a “style.css” sheet with this code inside

/*
 Theme Name:   werm-theme
 Description:  Werm theme
 Author:       Werm
 Template:     magazine-base-pro
 Version:      1.0.0
*/

Where it says “Template:” is most important

Install a plugin called “Child Theme Configurator”

Click the analyze button

Set this option only if you are using a functions.php file at the root of your child theme

But if you are not using a functions.php file simple put this code into a file that loads when wordpress starts 

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

This is most important

This imports all settings from parent over to child.

Left menu and select

Then activate child theme

Leave a Reply

Your email address will not be published.