Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #305937

    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

    #306330

    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

    #307032
    This reply has been marked as private.
    #307126

    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

    #307137

    Understood. Thank you :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Question regarding theme updates’ is closed to new replies.