1. Home
  2. AccessAlly
  3. Basic 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:

Video Tutorial:

Updated on May 14, 2019

Was this article helpful?

Related Articles


If you have any questions, we're just an email away.

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

Laptop with the AccessAlly demo site

AccessAlly Is The Most Flexible Way To Sell And Elegantly Deliver Digital Offerings As Your Business Grows. All in one place.


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