Child-theme in greatmag

Hi,
Thanks to everyone, what is the correct structure for a child-theme in greatmag?
For example, I modified the file function-footer.php and functions-header.php in the inc => functions folder

With future theme updates I would not want to miss the changes.
thank you

Hello,

Please check this WordPress Codex page:
https://codex.wordpress.org/Child_Themes

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Hello Roman, I had already created the structure of the new child theme with the “Child Theme Generator” plugin.
I created the same structure for the pages I have to edit
inc / function / functions-header.php
In spite of this, the changes to the code I make are not considered … or I always see the pages of the parent theme!

screen

some advice

Hello,

You can’t easily override theme PHP files that are called from other theme PHP files.

On the other hand, you can override PHP files that are mentioned in this article:
https://developer.wordpress.org/themes/basics/template-hierarchy/

Kind Regards, Roman.