Since all of that information is in the database and not part of the “script-that-is-WordPress”, you should be fine just overlaying your existing code with his.
Having said that, standard disclaimers apply, make full backups before you do anything that might endanger your cat.