1. Creating a new folder for your child theme. Naming it something like “Resca-child” is common. Within your new theme folder, create two files called style.css and functions.php.
Filling in the information of each file as below:
– In Style.css file:
/* Theme Name: resca Theme URI: https://resca.thimpress.com Description: Resca Child Theme Author: Thimpress Author URI: https://thimpress.com Template: resca Version: 1.0.0 Text Domain: resca-child */
The most important part of this file is the “Template” which must be the same name with your parent theme. The folder of our parent theme now is “resca”.
You can decide yourself to write other information as you want.
– In functions.php file:
<?php function thim_child_enqueue_styles() { // Enqueue parent style wp_enqueue_style( 'thim-parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'thim_child_enqueue_styles', 100 ); ?>
2. Activating Your Child Theme by going to Appearances > Themes > Upload theme >(before you upload, you must first ZIP it) choose file resca-child.zip created above > click “Install Now” button > then Active zoneshop-child, see instruction below:
Your child theme is now ready to use.
Please notes that if after activating the child theme then your site may overturn position of all Widgets. Please keep calm down and follow these steps:
1. Import demo data again.
2. Go to Appearance >> Menu >> delete the menu items was repeated by the second importation >> click “Save Menu”.
I hope this Knowledge is helpful with you and have a nice day our customers!
You also read this docs for more information.