• Resolved opabarbosa

    (@opabarbosa)


    I struggled a lot to get the index template used in different pages of my website. Im not a code expert so it was a lot of hours on trial and error

    My footer is all wrong now too..

    Now this last update really damaged some of my pages and i don’t know how to fix them

    I don’t want to be working on my site all over again to have it damaged in the next update again

    How can i disable it ?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter opabarbosa

    (@opabarbosa)

    All of the php files that i had created are gone… its frustrating

    You should never modify the theme files directly. If the theme gets updated because of feature enhancements, bug fixes, or security patches, or if the theme has to be updated because of a change to the WordPress core, then your changes, as you have found, will be lost. The suggested way to make modifications is to create a child theme, and make your changes to copies of the files in your child theme. For example, if you need to make a change to the footer.php file, then you would copy that file from the parent theme folder into the child theme folder and change it there. You generally want to update the theme. As mentioned earlier, there may be times when the theme has to be updated because of a security problem, bug fix, or if a major WordPress release requires a change to the theme.

    Hi,

    I recommended you, in the last thread, to use a child theme. You should always use a child theme to avoid this from happening. All the changes you make to theme files should go to the child theme, not the main there.

    Here you go: https://managewp.com/how-to-create-a-child-theme

    Regards,
    Hardeep

    Thread Starter opabarbosa

    (@opabarbosa)

    Thank you CrouchingBruin.. as i said, im very new to coding so i didn’t know about child themes

    the child theme folder goes into the zerif lite folder ?

    or goes into the “themes” folder ?

    thank you

    it goes to the themes folder and after you have to activated it in appearance> Theme.

    Dutching is correct, it would go in the /wp-content/themes folder, so it would look like this:

    /wp-content/themes/zerif-lite
    /wp-content/themes/zerif-lite-child

    So the first folder is the original parent theme folder and the second is your child theme folder, on the same “level” as the parent theme.

    I’d rather use one-click child theme plugin, it is way easier to create a child theme this way.

    Thread Starter opabarbosa

    (@opabarbosa)

    thanks for all the help guys… great stuff

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can i disable updates ? The last one really damaged my pages’ is closed to new replies.