Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
Would you like to know how to show WordPress link to log out? or vOr are you manually adding a WordPress logout link on your website?
If you are running a WordPress member-space web site, having a sign-out link is important for your users.
In this tutorial, we'll share the direct path to the logout link on WordPress, and show how to add the logout link on your WordPress menu as well as other places on your website.
But before we discover together How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog
Then back to why we are here.
The disconnect link of WordPress
Normally, you can log out of your WordPress website by clicking on the logout link. This link is found under your profile picture on the upper right corner of the WordPress admin bar.
All you have to do is switch to your username, and it will appear in the drop-down menu.
In case you or your website administrator have disabled the WordPress admin bar, you will not be able to see the WordPress logout link.
The good thing is that the disconnect link of WordPress can be directly accessible finally to allow you to disconnect from your current session.
The disconnect link for your WordPress website looks like this:
Remember to replace example.com by your own domain name.
You can access this link directly in your browser window to log out of your WordPress website.
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
When you visit the WordPress logout link, it will take you to a warning page. You need to click on the sign out link to confirm that you really want to sign out.
You can also manually add this logout link to your WordPress website. Let's examine how to do that.
Add the logout link in the WordPress navigation menus
Adding the WordPress logout link in your website's navigation menu will make it easily accessible from any page on your website or blog.
Just go on "Appearance> Menus" in your WordPress dashboard. After that, you need to click on the Custom Links or Custom Links tab to expand it and add the logout link in the URL field.
Once you are done, click on the button Add to menu or Add to Menu“, And you will notice that the link will appear on the right column. You can adjust its position by dragging it up or down.
Go further by discovering also How to Add a Custom Navigation Menu to WordPress
Don't forget to click on the “Save menu” button to save your changes.
You can now visit your website to see the logout link on your navigation menu.
The problem with adding the logout link to the menu is that it is visible to all users (whether they are logged in or not). It makes sense to display the logout link to the users who have actually logged in.
If you want to know how to do it, you can read our tutorial on how to display conditional menus on WordPress.
Add the WordPress logout link on the sidebar widget
WordPress comes with a default widget called Meta. This widget displays a bunch of useful links, including a login or logout link.
Some people find that other links in the Meta widget are not as useful.
Are you looking for the best WordPress themes and plugins?
Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]
You can alternatively add plain text or a custom HTML widget with the simple HTML logout link. Here is the HTML code you need to add:
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
Horizon is a simple 2-level menu plugin, designed to add some life to your WordPress blog header or footer. Once activated, the menu can scroll with the page in order to be visible at all times; which is actually a great place to insert important links.
On the other hand, the menu can also be placed in an absolute position so that it scrolls off the screen with other content. Horizon does not replace or affect the current menu (s) of your WordPress theme.
Instead, it's an effective asset that can be used to highlight certain posts or pages on your website, host your social links, or even serve as a location to place email buttons and / or phone call. With a huge amount of icons to choose from, there are many possibilities for its use.
Reviewer is a WordPress plugin that allows you to quickly and easily insert reviews and comparison tables into your posts, pages and types of custom publications.
The flexible structure of the latter allows you to collect any type of opinion or criticism. All you need to do is create a form template and insert it into your posts or pages. Users and visitors will be able to leave their opinions there.
It also offers different customizable themes so that you can adapt your reviews and comparison tables to the look and feel of your website.
3. Ads Pro
Ads Pro is a premium WordPress plugin that will help you manage, sell, and display your ad spaces in a way that no other plugin offers.
This tool displays advertisements in a user-friendly way on your website. It will allow you to display 20 different ways, your banners, including those of Google AdSense.
Its features are: 100% responsive layout, geolocation of visitors for targeted advertisements, scheduling of advertising display, display of advertisements on specific devices, WooCommerce support, the powerful control panel, the multilingual support, ad blocker detector, full statistics and many more.
Easily create your Online Store
Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]
Other recommended resources
We also invite you to consult the resources below to go further in the grip and control of your website and blog.
- How to fix an 504 error on your WordPress website
- How to correctly use WP_Query on WordPress
- Cookies and WordPress: How to create, retrieve and delete
- How to create a full width page on WordPress
- How to boost blog engagement with social media
Here ! That's it for this tutorial, I hope it allows you to add logout links to your WordPress blog. feel free to share the tip with your friends on your social networks.
But in the meantime, tell us about your Comments and suggestions in the dedicated section.