Hey wordcubiq,
thanks again for your help. Just to let you know, I’ve ported the site to the host now, and the plugin does work. I do still get the “undefined variable: slug” warning, but the plugin works. I assume it had something to do with XAMPP
thanks again!