Wow, lots of action here! I added the code to functions.php, but it broke my theme and admin section (removing it fixed the issue).
If you’d like to take a look at functions.php, it’s viewable here.
Thanks for your help with my issue (and braveheart’s).