Hey guys,
in the case such as this URL (see below)…the social media icons have been added to the footer by adding line of code to the footer.php.
When it comes to theme updates, how can i update the theme without having to re-add the one line of code to the footer each time?
There’s also the code just within the body tag of the header…that get’s the Facebook script added. How can I add this once without having to read every time there’s a theme update?
Thanks,
Justin
Hey Justin!
Please use a child theme – http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/
you can download pre-built one in Downloads section in Enfold documentation – http://kriesi.at/documentation/enfold/downloads/
Regards,
Yigit
Hi!
Updating the theme will override your modifications on the parent or original theme unless you’re using a child theme. If you added something on the footer.php file, you can copy the actual file then place it inside the child theme folder in order to preserve it when you update the parent theme.
Cheers!
Ismael
Understood. Thank you :)