Support » Fixing WordPress » How to restore my Single.php file to its default

  • I was messing around with the code on my Single.php file of my Sodelicious-black-10 theme, trying to integrate a stumbleupon button to the bottom of my posts. Anyway, I messed something up, and now the sidebar is under the posts, and the dates and information under the post are no longer under the small dotted lines that they were originally under. I am horrible at HTML editing, so is their anyway to restore my Single Page file to its original state without changing everything else?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Usually you’d recover it from your backup that you made before starting (hint hint).

    Or you could go redownload the theme again to get a clean copy of the original single.php.

    Oh, I see…Backing Up, you make it sound like it’s something that I was already supposed to know. Again, I’m very new to this whole thing, um, how exactly would I back it up for future reference?

    Come on dude… !

    What HandySolo means is, before any modification to a file, keep the original in another folder on your hard drive.

    1) you download the theme you want to use in /xyz

    2) you decompress it.

    3) you copy the theme uncompressed to another folder /abc

    4) then, when you edit a file such as single.php, you use the one in /abc, keeping the one in /xyz clean and original…

    (!) Re-Come on!


    p.s. By the way, if you kept the original compressed file somewhere, you can always decompress it again to retreive its original content.

    p.p.s. You can reteurn to the site where you download the theme to downolad an unmodified, original fresh new file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to restore my Single.php file to its default’ is closed to new replies.