What theme were you using before? FTP/re-upload the theme to your server
Thread Starter
algae
(@algae)
I’ll try that in the morning. Not to sound like a whimp, but I’m obviously too tired for this right now. Thanks, mercime… I’ll let you know how it turns out.
Amazing! I just did the same sort of thing. BTW… I’m using the WordPress Default 1.6 theme.
I’m new too, and I was playing, trying to place an image file into my header. In the process I deleted something in the header code. Now my header and footer are centered and have the original white border behind each section, but the “posts” section is aligned all the way over the to left of the screen, and the white border behind the “posts” and sidebar is now absent.
If somebody could copy and paste the original code for the header.php onto this thread, wouldn’t we both be able to just reload it into the “Edit Themes – Header” field and get back to our starting point?
Thanks!
If somebody could copy and paste the original code for the header.php onto this thread, wouldn’t we both be able to just reload it into the “Edit Themes – Header” field and get back to our starting point?
you can be that somebody. if you dont already have a local copy of wordpress, you can always get it from the downloads page. See the BIG orange link at the top of this page????
Unzip it, find the file you edited, and voila.
Theres absolutely NO reason why you cant do that.
Thread Starter
algae
(@algae)
To mercime…
Thanks for the suggestion. In poking around the Google File Manager, I also found a file restore function which did the trick. But your suggestion was right – I simply needed to replace the .php file that I screwed up.
Thanks!
Unzip it, find the file you edited, and voila.
The big orange block worked. I’m a somebody now! Thanks for your help.
Here is a tip:
Make a back-up of your theme files on your hard-drive, each time before you change anything.
That way you can always go back to where you were, right before you started. Sometimes you don’t want to be stuck going alllll the way back to the default, if you liked some of the changes you made subsequently.