Customising with child theme
-
I edited your pho files to design the login and registration, but I understand that after updating the theme, all my changes will be destroyed. How do I copy the necessary files to the child theme and force the theme to take files from the child how style.css and function.php?
Hello,
The custom code from the style.css
file you can just copy to Theme Settings -> Custom CSS and it will work after any update.
The custom PHP code you should enter to the functions.php
file in your child theme. The functions.php
file in the child theme has a higher priority so the theme, first of all, will take the code from there.
https://prnt.sc/2OI3hpsZCAsD
Feel free to reach out so we can discuss possible options moving forward.
Kind Regards
I know about that, thanks. My question is how to copy template-tags.php into my child theme folder to customising and make higher priority then theme?
Hello,
Sorry, but the template-tags.php
file cannot be changed via the child theme, you should copy the functions from the template-tags.php
file and paste them into the functions.php
file in the child theme (e.g you need to change the verify popup, therefore, you copy the function from the template-tags.php file and paste it to the functions.php and change it as you need there ).
https://prnt.sc/SRXnNEbi8tch
Feel free to reach out so we can discuss possible options moving forward.
Kind Regards