Creating Child Theme

How to create a Child Theme

To make your theme changes update proof we always recommended to our users to use a child theme
Creating a child theme is very simple, just follow the instruction given below:

Log into your website using FileZilla or any other FTP client, and navigate to wp-content/themes/ directory, you need to create a new folder for your child theme.
Once you have created your folder, Suppose if you are creating child theme for NovelPro then name your child theme folder as novelpro-child, You need to create a style.css file inside that folder, Your stylesheet will consist some vital information inside it. so paste the following in it using text editor(Notepad++):

 Theme Name:   Novelpro Child
 Theme URI:
 Description:  NovelPro Theme for WordPress is simple and beautiful with lots of customization options that can tweaked by customize Panel like logos, intro texts, multiple useful sections, section ordering, background image, color and overlay. 
 Author:       ThemeHunk Team
 Author URI:
 Template:     novelpro
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:
Tags:one-column, two-columns, grid-layout, right-sidebar, custom-colors, custom-menu, theme-options, sticky-post, translation-ready, footer-widgets, blog  
 Text Domain: novelpro-child

Now, we need to load the stylesheet of the parent theme. Create a file named functions.php in the child theme folder, edit it, and paste the following:

<?php function novelprochild_styles() { $themeVersion = wp_get_theme()->get('Version');
    // Enqueue our style.css with our own version
    wp_enqueue_style('novelprochild-style', get_template_directory_uri() . '/style.css',array(), $themeVersion);
add_action('wp_enqueue_scripts', 'novelprochild_styles');

That’s all. You just to save your progress and that’s it.