Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

How to use the logout link code?

Simple Membership Plugin › Forums › Simple Membership Plugin › How to use the logout link code?

Tagged: logout link

  • This topic has 1 reply, 2 voices, and was last updated 10 years ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 16, 2016 at 11:35 am #6918
    Shobha2208
    Participant

    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?

    May 16, 2016 at 1:05 pm #6922
    admin
    Keymaster

    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/

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy