Custom functions.php in child theme not work of Bizlight Pro not work for me
When I create child theme and hooks below file steps as you suggest but,
style.css in child theme -> works
header.php in child theme -> works
functions.php in child theme -> not works (Nothing changes)
What ‘s default value contained in file “functions.php” of child theme for Bizlight Pro.?
@9toy, both approaches #1 and #2 above are correct. It is also a default code that should be in your functions.php before you activate your Child Theme. Either of the snippets above are optional, they load the parent style in your Child Theme through functions.php .
#1 approach : loads parent style in your Child Theme. Your child theme’s stylesheet will usually be loaded automatically.
#2 approach : If it is not, you will need to enqueue it as well. Setting ‘parent-style’ as a dependency will ensure that the child theme stylesheet loads after it.
Make sure you have activated your Child Theme from your dashboard. Then all your custom functions will need to be added just below the codes.
Learn more about creating Child Theme with default files and codes from below link.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.