Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Membership plugin – Is there a shortcode for the log out link?

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

  • This topic has 6 replies, 5 voices, and was last updated 10 years, 9 months ago by wzp.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • November 30, 2012 at 2:06 pm #8038
    Bob Rockefeller
    Member

    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

    November 30, 2012 at 5:15 pm #51901
    wzp
    Moderator

    [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

    November 30, 2012 at 7:26 pm #51902
    Bob Rockefeller
    Member

    Works! Thanks!

    Bob

    October 22, 2013 at 4:01 pm #51903
    dan11798
    Member

    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?

    October 22, 2013 at 10:54 pm #51904
    admin
    Keymaster

    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:

    http://www.tipsandtricks-hq.com/wordpress-membership/show-different-navigation-menu-to-your-members-and-non-members-551

    August 7, 2014 at 10:43 pm #51905
    julioasanchezm
    Member

    I want to put a logout option in the nav bar what can i do?

    August 8, 2014 at 12:26 am #51906
    wzp
    Moderator

    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

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ