Page 1 of 1

Logout and username link location

PostPosted: July 17th, 2011, 5:51 pm
by aimcenters
Hello,
When a user is logged in, how do they log out -- do I need to enable a 'logout' link or button along with their username? A similar Logout link to what is seen on this Primo Support Forums page? How do I create this? Thanks. Karen

Re: Logout and username link location

PostPosted: July 17th, 2011, 8:58 pm
by Cristián Lávaque
Hi Karen.

You can find a logout link in the Meta widget that comes by default with WordPress. Some themes also include a logout link. You can add that link to any template, the URL for that is /wp-login.php?action=logout

http://www.google.com/search?q=how+to+w ... ogout+link

Re: Logout and username link location

PostPosted: July 17th, 2011, 9:18 pm
by aimcenters
Thanks! Is there a way of displaying respective user names while logged in? Karen

Re: Logout and username link location

PostPosted: July 17th, 2011, 9:39 pm
by Cristián Lávaque
Yes, again some widgets have it, some themes too, or you can add it yourself editing your theme.

s2Member Pro's Login Widget provides the login form, logout link, name of the user, and more. You can see a screenshot of its settings here viewtopic.php?f=36&t=2781

Re: Logout and username link location

PostPosted: July 17th, 2011, 9:51 pm
by aimcenters
Found it. Thanks! Cheers. Karen

Re: Logout and username link location

PostPosted: July 17th, 2011, 10:53 pm
by Cristián Lávaque
:)

Re: Logout and username link location

PostPosted: August 2nd, 2011, 9:08 pm
by aimcenters
Hi,
For some strange reason, my s2Member-pro Login in widget disapeared from the sidebar AND I can't find it anywhere in the Available or Inactive Widget sections. Can anyone help with this? Thanks so much. Karen :o

Re: Logout and username link location

PostPosted: August 3rd, 2011, 12:26 am
by Cristián Lávaque
Hi Karen. Is your s2Member Pro add-on installed and active in your WordPress?

Re: Logout and username link location

PostPosted: August 3rd, 2011, 12:38 am
by aimcenters
I don't think so. I atempted to updated the plugin this morning and received a 'critical error' message. I didn't pay much mind to it until returning back to the site this evening.

Re: Logout and username link location

PostPosted: August 3rd, 2011, 12:45 am
by Cristián Lávaque
OK, that may explain your problem then, although I'm not sure what caused the error. Follow the instructions here viewtopic.php?f=36&t=247