Making a sidebar detect login show different menu
I was wondering how I would go about adding a script or some kind of thing to my sidebar so that it checks whether you are logged in or not, and if you are it shows an alternate menu of sorts.
Currently I have an admin login on the sidebar, I would like the sidebar to check to see if you are logged in, if you are it shows a bunch of admin related links and stuff, but if not it keeps showing the login.
Can anybody help me with this?
- The topic ‘Making a sidebar detect login show different menu’ is closed to new replies.