Child theme - override a file
Hi,
Im using Be theme child, normally you can put files in the child theme folder and they get activated.
I've slightly edited the content-post.php , however when I create a new folder called "includes" and put my php file in there , nothing happens.
(The path is: Child theme/includes/content-post.php).
How can I make this work ?
Im using Be theme child, normally you can put files in the child theme folder and they get activated.
I've slightly edited the content-post.php , however when I create a new folder called "includes" and put my php file in there , nothing happens.
(The path is: Child theme/includes/content-post.php).
How can I make this work ?
Comments
we have no idea where you read that you can normally put files into child theme as it's not true. If you look at https://codex.wordpress.org/Child_Themes you understand that only 2 files are included for child theme: style.css and functions.php. So if you want to use functions from parent theme in child, you need to copy just functions into functions.php file in reference to the steps that has been explained in the article we gave you above.
Thanks!