Viewing 4 replies - 1 through 4 (of 4 total)
  • All you have to do is go to the original theme files you uploaded originally, open the file you were editing, in something like Notepad and you’ll be looking at the original code.

    Then just copy/paste from that back into your working version of that file (the one you messed up!).

    Or you could just delete the file you messed up and re-upload the pristine original version. You’ll lose any other “hacks”/changes you may have made, though.

    Thread Starter xunkn0vvnx

    (@xunkn0vvnx)

    Understood, but I made other changes as well and don’t want to start over back to square one.

    Do you know exactly which file I need to find the code with the comments?

    Like Altstatten said… open the original unedited version of the file you changed and then copy and paste whatever you removed back into your edited version.

    Do you know exactly which file I need to find the code with the comments?

    We would have no idea. YOU should know which file you removed the code from since you’re the one who did it. However, since there are no comments on the main page, I can safely assume you might start with the index.php of the theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Accidently removed comments section from theme. HELP’ is closed to new replies.