I would like to add a "LogOut" button at the end of my sidemenu - but of course only, if someone is logged in. I also want to have it in two languages using qtranslate.
At the moment I have created a new Menu Item "Log Out" with a link to
/wp-login.php?action=logout which works, but always shows up of course.
Is there a way to put something like this in the function? Any help - or just a hint would be very nice! :)