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.
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
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 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.

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.

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?

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.

Suggested Reading: How to Customize the WooCommerce My Account Page Login Form?






