1
I would like to put a menu in my theme where one of the buttons would be Login/Logout (but not both on the same time) depending on wheather user is logged In or Not. When clicking on Login it should bring to login page. I still want to keep the main login box though. Can someone guide me through or put a snippet of code.
If it's hard, then at least I'd like to have a Logout button that disappears once user is Logged-Out.
Thanks in advance.