---
title: "How to Add an Elementor Login Logout Button in the Header Menu?"
url: https://theplusaddons.com/docs/elementor-login-logout-button-in-the-header-menu/
date: 2024-05-17
modified: 2026-05-19
lang: en
author: "Aditya Sharma"
description: "Do you want to add an Elementor login logout button in the header menu? Adding a login and logout button to the header gives your visitors a direct way to..."
image: https://theplusaddons.com/wp-content/uploads/2024/05/How-to-Add-an-Elementor-Login-Logout-Button-in-the-Header-Menu_-1024x536.jpg
word_count: 411
---

# How to Add an Elementor Login Logout Button in the Header Menu?

## 

- Integrates the WP Login & Register and Navigation Menu widgets from The Plus Addons for Elementor to add a login/logout button in the header menu.
- Utilizes the Nexter Builder or Elementor Pro to create the header template for the login/logout button.
- Enables My Account Menu toggle and Logout toggle to display user account options after login.

Do you want to add an Elementor login logout button in the header menu? Adding a login and logout button to the header gives your visitors a direct way to access their account or sign out from any page on your site, improving the overall user experience.

With the WP Login & Register widget from The Plus Addons for Elementor, you can add a login and logout button directly to your Elementor header template.

*To check the complete feature overview documentation of The Plus Addons for Elementor WP Login & Register widget, [click here](https://theplusaddons.com/docs/create-a-login-register-form-in-elementor/).*

**Requirement** – This widget is a part of The Plus Addons for Elementor. Make sure it is installed and activated.

**Best Used For:**

- Membership sites and online communities where visitors need a visible login entry point at all times

- WooCommerce stores where customers log in to view orders, wishlists, or saved addresses

- Course platforms and subscription sites where account access is a core part of the browsing experience

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-widget/elementor-login-form/)

Add the WP Login & Register widget to the header template and follow the steps –

> *Note: To create the header template, you can use the free *[*Nexter Builder*](https://nexterwp.com/docs/nexter-theme-builder-explained/)* or you can use Elementor Pro if you are already using it.*

1. From the **Forms Layout** tab, select **Login** or **Login and Register** from the **Type** dropdown.

2. From the **Layout** dropdown, select **Button Hover**, **Button Click**, or **Button Popup**.

![](https://theplusaddons.com/wp-content/uploads/2024/05/wp-login-register-button-hover-3.gif)

All three options add a login button to the header. Select the layout that matches how you want the login form to appear for visitors.

Some options will vary based on your selection. Select **Button Hover** here to continue.

3. Then enable the **My Account Menu** toggle from the **My Account Menu** tab.

![](https://theplusaddons.com/wp-content/uploads/2024/05/wp-login-register-my-account-logout.gif)

4. Make sure to enable either the **User Avatar** toggle, the **User Name** toggle, or both. This ensures the My Account button is visible once a visitor logs in.

5. After that, make sure the **Logout** toggle is enabled.

Now this button shows a login form when a visitor hovers over it. For a popup-style login experience where the form appears in an overlay instead of a hover state, see [How to Add an Elementor Login Register Popup?](https://theplusaddons.com/docs/add-an-elementor-login-register-popup/)

![](https://theplusaddons.com/wp-content/uploads/2024/05/wp-login-register-button-hover-login-demo.gif)

After you log in, the login button is replaced by the My Account button. Hover over it to see the logout option, which lets visitors sign out from the site at any time.

![This image has an empty alt attribute; its file name is wp-login-register-button-hover-logout-demo.gif](https://theplusaddons.com/wp-content/uploads/2024/05/image.gif)

***Suggested Reading***: *[How to Customize the WooCommerce My Account Page Login Form?](https://theplusaddons.com/docs/customize-the-woocommerce-my-account-page-login-form/)*