Hello,
I was previously using this code in child theme’s functions.php to include my custom.php file:
require_once(dirname(FILE) . ‘/custom.php’);
However, it isn’t working. I also tried this:
require_once( get_stylesheet_directory(). ‘/custom.php’);
But this isn’t working as well. The custom.php file resides in the child theme directory. Please assist as to how to include this file.
TIA!