there is no problem
– when using a child theme, it is treated as a new theme, and you need to set these customizations like header logo, menu, etc again.
Hello alchymyth
Thanks for your reply.
But I have another problem. In my child theme functions.php, when I put custom code , The website is white screen. But The custom code also in parent theme functions.php.
I want to put that code in child theme because when I update parent theme or wordpress,The code make sure to safe.
What can I do Sir?
Is parent theme custom code ( that is placed by me in style.css & functions.php) safe?
In my child theme functions.php, when I put custom code , The website is white screen. But The custom code also in parent theme functions.php.
try to enable DEBUG to see if you get error messages – http://codex.wordpress.org/Debugging_in_WordPress
do not add the same code into both files.
what exactly have you added into functions.php of the child theme? what is thefull code of the file?
I want to add that code because when I will update parent theme , there will be no effect on that custom code.
Also when I put on child theme functions.php, the website also white screen.
here is the child theme functions.php code “
<?php
// enqueue the child theme stylesheet
Function wp_schools_enqueue_scripts() {
wp_register_style( ‘childstyle’, get_stylesheet_directory_uri() .’/style.css’ );
wp_enqueue_style( ‘childstyle’ );
}
add_action( ‘wp_enqueue_scripts’, ‘wp_schools_enqueue_scripts’, 11 );
“
I want to put another code below this code. But when I put another code the website is white screen.
If I update parent theme, the custom code will change?