I am creating a child theme for the first time.
I have created style.css (and imported parent theme’s style.css in it) and also some new files+ additional functions in functions.php.
Now, I have copied index.php from parent theme to child theme
However still some of the parent theme’s admin options are not being picked up in child theme–> specifically I get a fatal PHP error that a function is not recognised when I load index.php (after setting child theme as the theme to be used by WP).
(1) Do I even have to copy index.php from parent-> child (2) If I want basically parent’s index.php to be loaded then do I leave child theme’s index.php blank? Or do I import the parent’s index.php (in the child theme’s index.php) (3) There are some admin options added to child theme(in addition to those in parent theme)– now do I set the admin options (of parent theme) by configuring the parent theme in WP admin? (4) Is it possible to show the admin options pertaining to the parent theme within the child theme’s admin options? So that I need not configure the parent theme’s options separately from those in the child theme? How do I do this? Also do you recommend this approach(point 4) or the previous approach(separately configuring parent theme’s admin options within the parent theme itself–> point 3)?