Firstly, you should never, never, never make edits to a live theme in a production environment for this very reason. Typos and errors can break your site!
To fix it, you’ll need to log in to your site via FTP. Then rename the theme folder (/wp-content/themes/twentyten/) to something else (maybe “twentyten-2”). Then try to visit your site again.
Renaming the folder will automatically disable the theme and throw a very minimal default theme on your site. But this means it won’t be broken any more.
Now, either un-do whatever changes you made and rename the folder again, or download a fresh copy of Twenty Ten and place it on your site.
Thread Starter
nlhink
(@nlhink)
Thank you so much for your reply. I know this is a dumb question, but how do I log in to my site via FTP?
I promise I will not monkey around with this again!
There are many ways you can log into your site via FTP. You should have access already if you’re hosting your own site.
Do you know how you connect to your server?
http://filezilla-project.org/ is a useful FTP client you can use to connect to your server.
Good luck!
Thread Starter
nlhink
(@nlhink)
Thanks everyone. I contacted my hosting company and they changed the theme for me and that seemed to work. Thanks!!!
Glad you got it sorted! 🙂
Thanks for these responses @rachaely and @eric Mann: you’ve well and truly saved my arse as well!