Using instructions from the WordPress codex, I have replaced/added to a number of WordPress core and theme functions. For these tasks, code, such as add_action( 'after_setup_theme', 'mytheme_custom_header_setup');
are already putting the code to work in the right place of the processing.
Now, I have a situation where I want to move code from a custom WordPress template in a child theme into functions.php
and call it from the template file as needed. In this case, essentially, I want to move code into functions.php
that will include a few layers into a highly customized front-page.php
after pulling in some custom field data.
Do child theme template files have access to functions.php
or do I need to add some code somewhere to make that connection?