- This topic has 1 reply, 2 voices, and was last updated 10 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › How to use the logout link code?
Tagged: logout link
Hi:
I am trying to place a Logout Link in all the posts which are protected and require login. But though you have given the code for this
e.g.
www.your-domain.com/?swpm-logout=true
I am not sure how to use this code. Should I put this code in ahref tag like this
<a href="http://mydomain.com/?swpm-logout=true">LOGOUT</a>
I tried this but there is no link created. How should I use the code you have given?
You can use that link to create a link in your navigation menu that says “logout” (given you want it on every page).
Alternatively, use the standard login widget on your sidebar. Logged-in members of your site will see a logout link there:
https://simple-membership-plugin.com/adding-member-login-widget-sidebar-site/