Are you looking for a quick and easy way to add a logout link to your WordPress website. Well keep watching because I’ll show you a couple of ways that you can do that quickly and easily to allow users to log out of your website. Now if you go to your WordPress dashboard you’ll notice that you can actually log out from here.
However some admins will remove that so you no longer can see it from the front end of your dashboard and that makes it really hard for users to log out.
One of the methods we can use is we can actually add a menu item up here and we’ll do that first.
So let’s head over to our WordPress dashboard, we’ll go over to Appearance, Menus.
And we want to scroll down because we’ll do a Custom Link.
And I’ll show you this is the text that we want to put after your website.
You want to make sure that you have this added.
Once you have the URL just fill out the Link Text that you want it to show and we’ll Add it to our menu.
Once we Save the menu.
You can go take a look at the menu on our site and now there’s an easy way for people to log out here.
The next method is you can add a widget to your sidebar area. You can use the meta widget which will show the site admin, login, logout, and some other links.
And that’s not quite as useful because we don’t really want these other links. So what we can do instead is remove the meta.
And we just want to add a Text Widget.
And with the text widget we’ll add this bit of HTML Code to our sidebar text widget.
Let’s head over to our Text make sure that we add that there, Add the URL to your website.
Add a Title, and click Save.
And now when we click Refresh.
We now have two different ways that users can logout from the website.