• [Topic modified to something useful]

    I was trying to fix the sidebar and took out the sidebar code in the Theme Function.
    All of WordPress went down. I can’t even log in.

    HELP!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Use an FTP Client such as FileZilla to access your site files at your host. You will need to gather your FTP credentials from host.

    Then:

    1. Find the file that you errantly altered and rename it to file_name-old.php. Based on your note. let’s assume it will be functions.php in your theme folder.
    2. Download a copy of your theme (get the version in use).
    3. Extract the files and then upload the file that was altered.
    4. Download the altered file (-old) and replace any known working edits to the online file.

    I suggest to all to not make edits in the dashboard to theme files without a backup in place and a way to put a file back if an error occurs.

    Also, are you using a Child Theme? Edits to parent theme are lost on theme update.

    Thread Starter JakeDellon

    (@jakedellon)

    That’s exactly what I did!! I was just in panic mode. Once I calmed down, I fixed it.

    I always copy the code, before I alter it, so I was able to just upload the untarnished copy back into functions.php.

    Thanks so much for the quick reply!!!!!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Edited theme files – site went down’ is closed to new replies.