This topic has 5 replies, 3 voices, and was last updated 6 years, 10 months ago ago by Olga Barlow
where i put my code function in theme file function.php it disappear after few days how to fix that?
sorry i mean ( when ) i put my code ( not = where )
Hello,
To make changes in theme file you need to use a child theme – https://codex.wordpress.org/Child_Themes
Regards
Hi I’m have a problem with your theme. Each time I put a new function in theme file function.php it’s disappear . How to fix that ?
Hello,
You need to install and activate child theme (follow documentation https://www.8theme.com/documentation/docs/child-theme/ ) and then if you need to do any changes (styles or code) use child theme. How child theme works you can read here https://codex.wordpress.org/Child_Themes
So, add your functions into child theme functions.php instead of the parent theme. All the changes made in parent theme will be lost after theme update.
Let me know if you need any other detailed explanation.
Regards
You must be logged in to reply to this topic.Log in/Sign up