2017-07-22, 06:22 AM
Essentially I'm trying to get one of the sidebars on my index to be hidden or displayed depending on if the user is logged in or not, which will be a basic "Click here to register" if user is not logged in and show some basic user info if they are logged in.
How exactly can I achieve this?
I assume I can't put PHP in the templates file themselves as it's HTML and all that, so...?
Thanks for any help.
How exactly can I achieve this?
I assume I can't put PHP in the templates file themselves as it's HTML and all that, so...?
Thanks for any help.