How to create a Link to Logout of WordPress

How to create a Link to Logout of WordPress

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages



Do you want to manually add a link to log out of your WordPress site? This can be helpful if you are running a membership site to let your users logout and you can add it anywhere on your site. In this article we will show you how to add the logout link to your WordPress website.

Text version of this tutorial:
http://www.wpbeginner.com/wp-tutorials/how-to-add-the-wordpress-logout-link-to-navigation-menu/

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:
https://www.facebook.com/wpbeginner

Follow us on Twitter:

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this tutorial:

For creating the link you would want to use the link below replacing example.com with your website:

http://example.com/wp-login.php?action=logout

Using the above link as a template you can add it as a custom link under Appearance, Menus or adding it as a link in the widgets area in a text widget.

WordPress also has the built in meta widget that you can use for useful links such as the logout link in your widget area.

E-COMMERCE LICENSE FREE 15 DAYS TRIAL

E-Commerce License FREE 15 DAYS TRIAL

To subscribe to E-Commerce License, SELECT YOUR FREE DOMAIN (TLD .com .net .org .info .us .club .pro or .link), ADD IT TO YOUR CART, CONFIRM YOUR DOMAIN, then at confirmation page select your subscription type.

I

About The Author

error: