- This topic has 6 replies, 5 voices, and was last updated 10 years, 3 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Membership plugin – Is there a shortcode for the log out link?
Tagged: eMember, Logout, Logout Link, shortcode
Is there a shortcode available to display the log out link?
I’d like a sidebar widget with a log out option in it.
Maybe it has to be a PHP call? Which function?
Bob
[wp_eMember_compact_login]
Display a compact login message to anonymous
visitors. When the member logs in it displays their
name and a logout link.
If you simply want to display a logout link, simply display a link to whatever you want the logout page to be, with the following query string appended to it: ?event=logout
Works! Thanks!
Bob
Hello, I have a menu in my navigation with the link titled “login” I wold like this menu item name to change to “logout” once they login. How can accomplish this?
If you use the following shortcode to put a compact member login widget then it will do that for you automatically:
[wp_eMember_compact_login]
I think you want to show different navigation menu to different users so the following tutorial should be helpful:
I want to put a logout option in the nav bar what can i do?
Please see my first response in this thread…
If you simply want to display a logout link, simply display a link to whatever you want the logout page to be, with the following query string appended to it: ?event=logout