1. Home
  2. AccessAlly
  3. Plugin & Basic Site Setup
  4. How To Add a Logout Link to a WordPress Menu

How To Add a Logout Link to a WordPress Menu

With AccessAlly, you can add a logout link to your membership site menu. If a user is logged in, they will be able to see this link and click on it in order to log themselves out of the site.

(Any “login” links should simply point to the login page.)

When creating your menu in WordPress, you’ll want to select the Custom Link option for the Logout item.

The URL should be: /wp-login.php?action=logout
The Link text should be: Log Out

Option 2: Use A Shortcode

Alternatively, you can place a logout link in any regular text area on your site. Simply use the following shortcode to create a dynamic logout link:
[accessally_logout_url]

Video Tutorial:

Updated on May 14, 2019

Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

If you have any questions, we're just an email away at your@accessally.com.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

AccessAlly is the #1 WordPress Course and Membership Solution for Industry Leaders

WATCH THE DEMO

You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.