Child Theme - mod made to features.php file
I am attempting to create a child theme so any modifications are kept when the main theme is updated.
style.css is in place and the mods I have made in that file are contained in that file.
However, one other mod was made to to the featured.php file which I downloaded and uploaded into the child theme.
Issue is and I have no understanding is how do I get the child theme to use this file instead of the one in the parent directory.
Reading all about child themes I just cannot grasp what many talk about when referencing other files and where does this referencing code go.. ie functions.php file or some other file.
The code they tell you to use is the following;
Code:
require_once( get_stylesheet_directory(). '/my_included_file.php' );
Or something similar.
In the child theme directory I have the following;
functions.php is empty.
style.css has only my modifications in it.
featured.php is from the parent so it contains all the code including my modification.
Am I on the right track....