• from my site pifeed.net i just removed the codes of facebook page likes, from header.php and sidebar whre like box showed, but whole site disappeared, plz help me restore my blog..thnx
    #Using free patus theme…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Bill

    (@chubbycrow)

    The easiest way to fix it would be to replace the edited files on your hosting account server with fresh, unedited versions from the repository. You can use an FTP client (like FileZilla), or your web-host’s cPanel or file manager to do this.

    Whenever you want to make any changes to your theme, you should make them to a child theme instead. That way you won’t lose your changes when the parent theme gets updated. A child theme is not difficult to make and can save you a lot of trouble in the future.

    Thread Starter markelhum158

    (@markelhum158)

    Thanks bill, I had a backup of site but i fear my new posts or theme modifications will be lost if i try to restore the website to last good state..plz tell me how can i upload the theme from godaddy backup files only without harming any posts done later..

    just got child theme tutorials..

    Bill

    (@chubbycrow)

    If this is a problem created by edits to your theme, which is what it sounds like, you won’t lose your posts since they are saved in the database.

    If you have backups from before the problem started, you can find within them copies of the files you edited (header and sidebar? from wp-content/themes/patus) and use them to replace the damaged ones. Before deleting the damaged ones from the server, download a copy of each to your computer in case they have other past edits in them you would like to use again. (Add them back in a child theme, of course.)

    If you can’t find an appropriate backup file, you can just download a fresh copy of the theme and find the necessary files there to upload. Without a backup, you will lose any changes you’ve made to the theme. That’s why you should download the bad ones for reference.

    Either way, delete the old files first, and then upload the new ones. Good luck!

    Thread Starter markelhum158

    (@markelhum158)

    I just found that i had removed </script> from anayltics code, while removing facebook like codes, adding it back solved the problem, I am thankful for your answers, and keeping them saved for any future issues…thanks Bill..:)

    Bill

    (@chubbycrow)

    I’m glad you got this figured out. Go ahead and mark this as resolved if you don’t mind. And: you’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘site disappeared after theme edit’ is closed to new replies.