I have 2 wordpress sites running the same theme that have been hacked. I have another site at another hosting location using the same theme that was not hacked. I need my 2 hacked sites fixed and want to retain all the information I had/have on the sites.
How do you know it was hacked ? Did your postd deleted / changed ? For most cases wordpress error, you just need to restore wordpress file from the original source downloaded from wordpress.org. If you have got plugin / theme, restore those too. For most cases, you can safely delete your wordpress installation, and your data still intact (except your upload folder of course). Wordpress save its data and settings on the database, so as long as the database is okay you can restore the files easily.