I have a plugin that changes directly the layout/template. If the plugin is activated its visible to EVERYBODY.
I would want to have it shown only to logged in users. Well, with a widget that's easily done, but this plugin does not use widgets, it changes the template directly. How can I add a simple quesry or test wether the user is logged in or just a guest - to decide if the change is shown or not?
Thank you for your help