Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember change Login menu item to Logout?
- This topic has 5 replies, 3 voices, and was last updated 13 years ago by admin.
-
AuthorPosts
-
November 8, 2011 at 10:45 am #4710gobigkahunaMember
Hi,
I’m brand new to eMember and still trying to sort out my first site with it. I’ve set up my webpage so that the main menu has a link to a “Login” page. Is it possible to change that main menu link to say “Logout” while a user is logged in? It doesn’t make sense to have both nor does it to have a Login menu item while a user is already logged in. Any way to change this?
Thanks!
November 8, 2011 at 11:16 am #38252PeterMemberHello,
This page might contain what you’re looking for:
http://www.tipsandtricks-hq.com/wordpress-membership/using-a-compact-login-and-join-us-message-203
November 8, 2011 at 10:42 pm #38253gobigkahunaMemberNot exactly what I had in mind but I think it’ll be close enough, thanks!
November 8, 2011 at 11:35 pm #38254adminKeymasterYou can also wrap your login link inside a bit of custom code so it can dynamically say “login” or “logout” based on the member’s login status (so it will login when a visitor is not logged in, it will say logout when a member is logged in). This document has example codes that will explain more:
http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248
November 9, 2011 at 6:21 am #38255gobigkahunaMemberThanks, I’ll study that as well.
One bit of feedback from a new customer, it seems that you have a lot of really good information on your website but it’s nearly impossible to find. Looked around the documentation but didn’t find any links to the two articles you both posted. A full list of articles and the ability to search the docs would sure be helpful.
Also, I wasn’t able to search the forums for answers to questions I had and wasn’t able to register on the forums until after I bought the product. I’m sure you’ve set this up to block spammers but it would have been very helpful to be able to find answers to my own questions rather than via emails to your sales dept. Since we’re on opposite sides of the planet that meant waiting a day to find information that I probably could have found myself.
Just my 2 cents / euros worth. Otherwise your product seems to work as advertised and you’ve responded to all my emails. That gets high marks in my book. Thanks!
November 9, 2011 at 10:43 pm #38256adminKeymasterAll those links are accessible from our documentation index page (all it take is for someone to actually spend a bit of time going through the items):
http://www.tipsandtricks-hq.com/wordpress-membership/
If you look at the following two entries you will see that they link to those URLs we gave you:
– Displaying a Compact Login and Join Us Message
– WP eMember Miscellaneous Tweaks
-
AuthorPosts
- You must be logged in to reply to this topic.