Making this a WordPress plugin.